com.sas.sasserver
Class SASListNode
com.sas.sasserver.SASListNode
All Implemented Interfaces: com.sas.beans.PropertyChangeSource, com.sas.lang.ObjectDataInterface, ModelInterface , MutableNodeInterface , MutableSimpleNodeInterface , NodeIconInterface , NodeInterface , SimpleNodeInterface , StaticNodeStyleInterface , TreeInterface , java.io.Serializable
public abstract class SASListNode
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.
See Also: Serialized Form
Methods inherited from class com.sas.models.Node
addItems , addNodeChild , addNodeChild , addPropertyChangeListener , attachView , countNodeChildren , detachView , firePropertyChange , firePropertyChange , getDefaultNodeStyle , getIndex , getNodeChild , getNodeChildCount , getNodeChildren , getNodeChildren , getNodeExpandedText , getNodeStyle , getNodeText , getNodeType , getNodeTypes , getObjectData , getRoot , isExternalUpdateSupported , moveNodeChild , notifyPropertyChange , removeAllNodeChildren , removeNodeChild , removeNodeChild , removePropertyChangeListener , setDefaultNodeStyle , setExternalUpdateSupported , setNodeChildren , setNodeExpandedText , setNodeStyle , setNodeText , setNodeType , setObjectData , sort , toString
rocfContext
protected com.sas.rmi.Connection rocfContext
classFactory
protected com.sas.rmi.Rocf classFactory
isLeafNode
protected boolean isLeafNode
defaultIconName
protected java.lang.String defaultIconName
expandedIconName
protected java.lang.String expandedIconName
imageViewCache
protected static java.util.Hashtable imageViewCache
SASListNode
public SASListNode ()
SASListNode
public SASListNode (java.lang.String text)
SASListNode
public SASListNode (java.lang.String text,
java.lang.String nodeType)
setRocfInfo
public void setRocfInfo (com.sas.rmi.Connection rocfContext,
com.sas.rmi.Rocf classFactory)
setIconNames
public void setIconNames (java.lang.String defaultIconName,
java.lang.String expandedIconName)
isLeafNode
public boolean isLeafNode ()
Description copied from class: Node
Indicates whether the current Node is a leaf (has no children).
Specified by: isLeafNode in interface SimpleNodeInterface Overrides: isLeafNode in class 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 NodeIconInterface Overrides: getDefaultIcon in class 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 NodeIconInterface Overrides: getExpandedIcon in class NodeIcon
Returns: the expanded icon, otherwise the result of getDefaultIcon See Also: NodeIconInterface.getExpandedIcon()
getImage
protected static com.sas.visuals.IconInterface getImage (java.lang.String name)
Copyright © 2009 SAS Institute Inc. All Rights Reserved.