SASListNode is an abstract class which is subclassed by the SASDataSetNode and
SASCatalogEntryListNode classes. It provides the ability to set ROCF information,
icon names, and leaf node status.
Indicates whether the current Node is a leaf (has no children).
Specified by:
isLeafNode in interface com.sas.models.SimpleNodeInterface
Overrides:
isLeafNode in class com.sas.models.Node
Returns:
true if the current node is a leaf, otherwise false
setLeafNode
public void setLeafNode(boolean isLeafNode)
getDefaultIcon
public com.sas.visuals.IconInterface getDefaultIcon()
Description copied from class: NodeIcon
Returns the default icon for the current node. The default icon is used
for unexpanded, unselected states. If no other icons are set, then it
will serve for all states. If there is no default icon set, null is
returned. The default value is null.
Specified by:
getDefaultIcon in interface com.sas.models.NodeIconInterface
Overrides:
getDefaultIcon in class com.sas.models.NodeIcon
Returns:
the default icon, otherwise null
See Also:
NodeIconInterface.getDefaultIcon()
getExpandedIcon
public com.sas.visuals.IconInterface getExpandedIcon()
Description copied from class: NodeIcon
Returns the expanded icon for the current node. The expanded icon is used
whenever a node is expanded but not selected. If a node is a leafNode, expanded
icon is ignored. If there is no expanded icon set, the result of
getDefaultIcon is returned.
Specified by:
getExpandedIcon in interface com.sas.models.NodeIconInterface
Overrides:
getExpandedIcon in class com.sas.models.NodeIcon
Returns:
the expanded icon, otherwise the result of getDefaultIcon