isExpandable

Specifies whether the tree node is expandable; that is, whether there are nodes below the current level.

Type

public boolean isExpandable
 

Notes

The isExpandable member variable indicates whether a node is expandable, as Table 109 shows.

Table 109. Types of nodes

Type of node Description Value of isExpandable
Expandable Node has child nodes true
Leaf (terminating) Node does not have child nodes but is the terminating point of a branch of the source-node hierarchy false

Only normal-nature nodes (nodes with their polymorphicNature member variable set to NODE_NATURE_NORMAL) can have isExpandable set to true.

Copyright IBM Corp. 1997, 2003