|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.memberproperties.NodeInfo
public class NodeInfo
Encapsulates information about Fractional Data Items.
| Constructor Summary | |
|---|---|
NodeInfo()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
add(NodeInfo node)
Adds the specified node as child of this node. |
boolean |
equals(NodeInfo nodeInfo)
Returns a boolean indicating whether the specified NodeInfo object is equivalent to this NodeInfo object. |
java.util.List |
getChildren()
Returns a list of this node's children. |
java.lang.String |
getText()
Returns the text label to displayed for this node. |
java.lang.String |
getUniqueName()
Returns the unique name that identifies this node. |
boolean |
isAllowsChildren()
Returns the boolean indicating whether children may be added to this node. |
boolean |
isExpanded()
Returns the boolean indicating whether this node should be presented in an expanded state. |
boolean |
isLeaf()
Returns a boolean indicating whether the node is a leaf node. |
void |
setAllowsChildren(boolean allowsChildren)
Sets the boolean indicating whether children may be added to this node. |
void |
setExpanded(boolean expanded)
Sets the boolean indicating whether this node should be presented in an expanded state. |
void |
setText(java.lang.String text)
Sets the text label to displayed for this node. |
void |
setUniqueName(java.lang.String uniqueName)
Sets the unique name that identifies this node. |
| Constructor Detail |
|---|
public NodeInfo()
| Method Detail |
|---|
public void setText(java.lang.String text)
text - the text label to displayed.public java.lang.String getText()
public void setUniqueName(java.lang.String uniqueName)
uniqueName - the unique name that identifies this node.public java.lang.String getUniqueName()
public boolean isLeaf()
Returns true if the node has any children, false otherwise.
public void setAllowsChildren(boolean allowsChildren)
allowsChildren - the boolean indicating whether children may be
added to this node.public boolean isAllowsChildren()
public void add(NodeInfo node)
If the allowsChildren attribute is false, then no add occurs.
node - the node to add as a child of this node.public java.util.List getChildren()
public boolean isExpanded()
public void setExpanded(boolean expanded)
expanded - the boolean indicating whether this node
should be presented in an expanded state.public boolean equals(NodeInfo nodeInfo)
The specified NodeInfo object is not equivalent to this object if:
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||