|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface NodeInterface
NodeInterface is implemented by objects contained in a hierarchical structure that provide textual descriptions. NodeInterface provides an abstraction that allows the data source to remain distant from an associated viewer.
It is recommended that classes which implement NodeInterface send PropertyChangeEvent events whenever the nodeText, nodeExpandedText and/or nodeType properties change so that a viewer could know about these changes and refresh itself. For example, com.sas.visuals.TreeView expects NodeInterface objects from its model and then tries to listen for PropertyChangeEvent events on each NodeInterface. If the implementation fires these events then the TreeView will be able to reflect these changes.
| Method Summary | |
|---|---|
abstract java.lang.String |
getNodeExpandedText()
Returns the value of the nodeExpandedText property. |
abstract java.lang.String |
getNodeText()
Returns the value of the nodeText property. |
abstract java.lang.String |
getNodeType()
Returns the value of the nodeType property. |
| Methods inherited from interface com.sas.models.SimpleNodeInterface |
|---|
countNodeChildren, getNodeChild, getNodeChildCount, getNodeChildren, isLeafNode |
| Method Detail |
|---|
java.lang.String getNodeExpandedText()
java.lang.String getNodeText()
java.lang.String getNodeType()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||