|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeProperty
An interface for a property node that is part of a TreeProperty
.
Each property node can be selected, or de-selected.
Optionally, each node can have a set of additional configuration properties. If a node does have configuration properties, then the user interface is responsible for rendering them and presenting them to the user whenever the node is selected.
Method Summary | |
---|---|
void |
applyConfigurationProperties(PropertyGroup properties)
* Applies the configured property values to the node |
PropertyGroup |
createConfigurationProperties()
Creates a new instance of the properties that are used to configure this node. |
NodeProperty[] |
getChildren()
Returns any children nodes of this node. |
boolean |
isSelected()
Returns if the node is selected or not. |
void |
setHighLighted()
Sets the node which is highlighted. |
void |
setSelected(boolean selected)
Sets the selection state of the node. |
Methods inherited from interface commonj.connector.metadata.discovery.properties.Property |
---|
getValidationMessage, isSet, isValid, unSet |
Methods inherited from interface commonj.connector.metadata.discovery.properties.PropertyDescriptor |
---|
addPropertyChangeListener, clone, getDescription, getDisplayName, getID, getName, isEnabled, removePropertyChangeListener |
Method Detail |
---|
boolean isSelected()
void setSelected(boolean selected)
selected
- -
a boolean value indicating if the node should be set to the
selected state or not.NodeProperty[] getChildren()
null
if none
exist.PropertyGroup createConfigurationProperties()
null
.
The value settings of the properties returned must match any values
currently applied via a previous call to
applyConfigurationProperties(commonj.connector.metadata.discovery.properties.PropertyGroup)
.
null
if no
configuration properties exist.void applyConfigurationProperties(PropertyGroup properties)
properties
- a non null
property group that has been
configured with values. The property group instance must have
been created using the createConfigurationProperties()
method.void setHighLighted()
PropertyEvent.TREE_NODE_HIGHLIGHTED
event is fired.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |