|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by object hierarchies representing browse information about items (leafs) and groups (branches) on an communication server. This is the case for ie. OPC server, being capable of presenting available items in a tree-like format.
Please refer to
OpcClientApi.getServerItemsInfo()
for more
detailed information on how to obtain instances of this class
Please refer to JTreeIOTreeNode
, for an example on how
to directly visualise the content of this class in a javax.swing.JTree
Method Summary | |
Enumeration |
children()
Returns the children of the reciever as an Enumeration |
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
IOItemBrowseTreeNode |
getChildAt(int childIndex)
Returns the child IOItemBrowseTreeNode at index childIndex. |
int |
getChildCount()
Returns the number of children IOItemBrowseTreeNodes the receiver contains |
int |
getIndex(IOItemBrowseTreeNode node)
Returns the index of node in the receivers children. |
String |
getLongName()
Returns the long representation of this item |
IOItemBrowseTreeNode |
getParent()
Returns the parent IOItemBrowseTreeNode of the receiver |
String |
getShortName()
Returns the short representation of this item |
boolean |
isLeaf()
Returns true if the receiver is a leaf |
Method Detail |
public String getShortName()
public String getLongName()
public IOItemBrowseTreeNode getChildAt(int childIndex)
childIndex
- the index of the node, 0..n
public int getChildCount()
public IOItemBrowseTreeNode getParent()
public int getIndex(IOItemBrowseTreeNode node)
node
- an IOItemBrowseTreeNode
value
public boolean getAllowsChildren()
boolean
valuepublic boolean isLeaf()
boolean
valuepublic Enumeration children()
Enumeration
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |