Interface PropertyNode
-
- All Known Implementing Classes:
DynamicPropertyNode
,StaticPropertyNode
,UDTPropertyNode
public interface PropertyNode
Represents 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.JComponent
getParent()
The component that this property belongs tojava.lang.String
getPath()
Calculates the path to this propertyjava.beans.FeatureDescriptor
getProperty()
The property for this node.QualifiedValue
getQValue()
java.lang.Class<?>
getType()
void
setValue(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 aPropertyDescriptor
or 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.Exception
Sets the value on the parent for this property to the given value- Throws:
java.lang.Exception
-
-