com.sas.models
Class MenuBarNode

com.sas.models.MenuBarNode
All Implemented Interfaces:
com.sas.beans.PropertyChangeSource, com.sas.lang.ObjectDataInterface, ModelInterface, MenuBarNodeInterface, MutableNodeInterface, MutableSimpleNodeInterface, NodeInterface, SimpleNodeInterface, StaticNodeStyleInterface, TreeInterface, java.io.Serializable

public class MenuBarNode
implements MenuBarNodeInterface

MenuBarNode extends Node and is the root node for menu type models.

See Also:
Serialized Form

Field Summary
static java.lang.String RB_KEY
           
 
Fields inherited from class com.sas.models.Node
children, defaultNodeStyle, expandedNodeText, externalUpdateSupported, hasChildren, nodeStyle, nodeText, nodeType, objectData
 
Constructor Summary
MenuBarNode()
          Constructs a MenuBarNode object.
 
Method Summary
 void addNodeChild(SimpleNodeInterface node, int index)
          Adds a child at index.
 
Methods inherited from class com.sas.models.Node
addItems, addNodeChild, addPropertyChangeListener, attachView, countNodeChildren, detachView, firePropertyChange, firePropertyChange, getDefaultNodeStyle, getIndex, getNodeChild, getNodeChildCount, getNodeChildren, getNodeChildren, getNodeExpandedText, getNodeStyle, getNodeText, getNodeType, getNodeTypes, getObjectData, getRoot, isExternalUpdateSupported, isLeafNode, moveNodeChild, notifyPropertyChange, removeAllNodeChildren, removeNodeChild, removeNodeChild, removePropertyChangeListener, setDefaultNodeStyle, setExternalUpdateSupported, setNodeChildren, setNodeExpandedText, setNodeStyle, setNodeText, setNodeType, setObjectData, sort, toString
 
Methods inherited from interface com.sas.models.NodeInterface
getNodeExpandedText, getNodeText, getNodeType
 
Methods inherited from interface com.sas.models.SimpleNodeInterface
countNodeChildren, getNodeChild, getNodeChildCount, getNodeChildren, isLeafNode
 

Field Detail

RB_KEY

public static final java.lang.String RB_KEY
See Also:
Constant Field Values
Constructor Detail

MenuBarNode

public MenuBarNode()
Constructs a MenuBarNode object.

Method Detail

addNodeChild

public void addNodeChild(SimpleNodeInterface node,
                         int index)
Adds a child at index. A value of -1 for index indicates that the child is to be appended to the child list.

Specified by:
addNodeChild in interface MutableSimpleNodeInterface
Overrides:
addNodeChild in class Node
Parameters:
node - the child to add
index - the position at which to add the child
See Also:
MutableSimpleNodeInterface



Copyright © 2009 SAS Institute Inc. All Rights Reserved.