Interface PropertyNode
-
- All Known Implementing Classes:
DynamicPropertyNode,StaticPropertyNode,UDTPropertyNode
public interface PropertyNodeRepresents a "property" of a component. Properties themselves come in various flavors, so this interface exists to abstract the details of getting/setting, querying datatype etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.JComponentgetParent()The component that this property belongs tojava.lang.StringgetPath()Calculates the path to this propertyjava.beans.FeatureDescriptorgetProperty()The property for this node.QualifiedValuegetQValue()java.lang.Class<?>getType()voidsetValue(java.lang.Object value)Sets the value on the parent for this property to the given value
-
-
-
Method Detail
-
getParent
javax.swing.JComponent getParent()
The component that this property belongs to
-
getProperty
java.beans.FeatureDescriptor getProperty()
The property for this node. Either aPropertyDescriptoror aDynamicPropertyDescriptor.
-
getQValue
QualifiedValue getQValue()
-
getType
java.lang.Class<?> getType()
-
getPath
java.lang.String getPath()
Calculates the path to this property
-
setValue
void setValue(java.lang.Object value) throws java.lang.ExceptionSets the value on the parent for this property to the given value- Throws:
java.lang.Exception
-
-