public class DefaultProperty extends AbstractProperty
| Constructor and Description |
|---|
DefaultProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubProperties(Collection subProperties) |
void |
addSubProperties(Property[] subProperties) |
void |
addSubProperty(Property subProperty) |
void |
clearSubProperties() |
boolean |
equals(Object other)
Compares two DefaultProperty objects.
|
String |
getCategory() |
String |
getDisplayName() |
String |
getName() |
Property |
getParentProperty() |
String |
getShortDescription() |
Property[] |
getSubProperties() |
Class |
getType() |
int |
hashCode() |
boolean |
isEditable() |
void |
readFromObject(Object object)
Reads the value of this Property from the given object.
|
void |
setCategory(String category) |
void |
setDisplayName(String displayName) |
void |
setEditable(boolean editable) |
void |
setName(String name) |
void |
setParentProperty(Property parent) |
void |
setShortDescription(String shortDescription) |
void |
setType(Class type) |
void |
setValue(Object value) |
String |
toString() |
void |
writeToObject(Object object)
Writes the value of the Property to the given object.
|
addPropertyChangeListener, clone, firePropertyChange, getValue, initializeValue, removePropertyChangeListenerpublic String getName()
public void setName(String name)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getShortDescription()
public void setShortDescription(String shortDescription)
public Class getType()
public void setType(Class type)
public boolean isEditable()
public void setEditable(boolean editable)
public String getCategory()
public void setCategory(String category)
public void readFromObject(Object object)
object - public void writeToObject(Object object)
object - public void setValue(Object value)
setValue in interface PropertysetValue in class AbstractPropertypublic boolean equals(Object other)
public Property getParentProperty()
getParentProperty in interface PropertygetParentProperty in class AbstractPropertypublic void setParentProperty(Property parent)
public Property[] getSubProperties()
getSubProperties in interface PropertygetSubProperties in class AbstractPropertypublic void clearSubProperties()
public void addSubProperties(Collection subProperties)
public void addSubProperties(Property[] subProperties)
public void addSubProperty(Property subProperty)
Copyright © 2015. All rights reserved.