Modifier and Type | Field and Description |
---|---|
private ArrayList |
children |
private boolean |
editable |
private Icon |
icon |
private String |
name |
private static Icon |
PROPERTY_ICON |
private PropertyType |
type |
private Object |
value |
Constructor and Description |
---|
Property(String name,
Icon icon,
PropertyType type) |
Property(String name,
Icon icon,
PropertyType type,
Object value) |
Property(String name,
PropertyType type) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Property property) |
Iterator |
getChildren() |
Icon |
getIcon() |
String |
getName() |
PropertyType |
getType() |
Object |
getValue() |
boolean |
hasChildren() |
boolean |
hasValue() |
boolean |
isEditable() |
void |
removeChild(Property property) |
void |
removeChildren() |
void |
setEditable(boolean editable) |
void |
setValue(Object value) |
String |
toString() |
private PropertyType type
private boolean editable
private static final Icon PROPERTY_ICON
public Property(String name, PropertyType type)
public Property(String name, Icon icon, PropertyType type)
public Property(String name, Icon icon, PropertyType type, Object value)
public boolean isEditable()
public boolean hasValue()
public void setEditable(boolean editable)
public PropertyType getType()
public boolean hasChildren()
public void removeChild(Property property)
public void removeChildren()
public Iterator getChildren()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses