public class PropertiesBag extends java.lang.Object implements PropertiesProvider
Constructor and Description |
---|
PropertiesBag() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(com.l2fprod.common.propertysheet.DefaultProperty dp) |
PropertiesBag |
clone() |
double |
getDoubleProperty(java.lang.String key) |
float |
getFloatProperty(java.lang.String key) |
int |
getIntProperty(java.lang.String key) |
LocationType |
getLocationProperty(java.lang.String key) |
com.l2fprod.common.propertysheet.DefaultProperty[] |
getProperties() |
java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
getPropertiesAsVector() |
java.lang.String |
getPropertiesDialogTitle() |
java.lang.String[] |
getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties) |
java.lang.Object |
getPropertyValue(java.lang.String key) |
java.lang.String |
getStringProperty(java.lang.String key) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setPropertiesDialogTitle(java.lang.String propertiesDialogTitle) |
void |
setProperty(java.lang.String key,
java.lang.Object value) |
public com.l2fprod.common.propertysheet.DefaultProperty[] getProperties()
getProperties
in interface PropertiesProvider
public void addProperty(com.l2fprod.common.propertysheet.DefaultProperty dp)
public void setProperty(java.lang.String key, java.lang.Object value)
public java.lang.String getPropertiesDialogTitle()
getPropertiesDialogTitle
in interface PropertiesProvider
public java.lang.String[] getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties)
getPropertiesErrors
in interface PropertiesProvider
public void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties
in interface PropertiesProvider
public void setPropertiesDialogTitle(java.lang.String propertiesDialogTitle)
public PropertiesBag clone()
clone
in class java.lang.Object
public LocationType getLocationProperty(java.lang.String key)
public double getDoubleProperty(java.lang.String key)
public float getFloatProperty(java.lang.String key)
public int getIntProperty(java.lang.String key)
public java.lang.String getStringProperty(java.lang.String key)
public java.lang.Object getPropertyValue(java.lang.String key)
public java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> getPropertiesAsVector()
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.