|
| Workspace |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--com.sas.workspace.AbstractDesigner.cAbstractDesignerTreeNode
| Field Summary | |
protected boolean |
m_bHasExpanded
|
protected boolean |
m_bIsEditable
|
protected boolean |
m_bIsExpanded
|
protected Icon |
m_icon
|
protected String |
m_sName
|
protected String |
m_toolTip
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
AbstractDesigner.cAbstractDesignerTreeNode(String sName,
String sToolTip)
Constructs a tree node |
|
| Method Summary | |
void |
addChildren()
Adds children to the node. |
AbstractDesigner.cAbstractDesignerTreeNode |
createChild(String sName)
Creates a child node for the given string. |
Icon |
getIcon()
|
String |
getName()
Gets the name of the node. |
String |
getToolTip()
Gets the tooltip to be used for a node. |
boolean |
hasExpanded()
Returns whether the node has ever been expanded. |
boolean |
isEditable()
Returns whether the node is editable |
boolean |
isExpanded()
Returns the expanded state of this node |
void |
setHasExpanded(boolean bHasExpanded)
Sets whether the node has ever been expanded |
void |
setIsEditable(boolean bIsEditable)
Sets whether the node is editable |
void |
setIsExpanded(boolean bIsExpanded)
Sets the expanded state of the node to the specified boolean value |
void |
setToolTip(String toolTip)
Sets the tooltip to be used for a node. |
String |
toString()
Returns a string that represents this node. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean m_bIsEditable
protected boolean m_bIsExpanded
protected boolean m_bHasExpanded
protected String m_sName
protected Icon m_icon
protected String m_toolTip
| Constructor Detail |
public AbstractDesigner.cAbstractDesignerTreeNode(String sName,
String sToolTip)
sName - name of the node| Method Detail |
public String getName()
public Icon getIcon()
public String getToolTip()
public void setToolTip(String toolTip)
public boolean hasExpanded()
public void setHasExpanded(boolean bHasExpanded)
bHasExpanded - true if the node has been expanded, false otherwisepublic boolean isExpanded()
public void setIsExpanded(boolean bIsExpanded)
bHasExpanded - true if the node is expanded, false otherwisepublic boolean isEditable()
public void setIsEditable(boolean bIsEditable)
bIsEditable - true if the node is editable, false otherwisepublic void addChildren()
public String toString()
toString in class DefaultMutableTreeNodepublic AbstractDesigner.cAbstractDesignerTreeNode createChild(String sName)
sName - the name of the child node
|
| Workspace |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||