|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.models.NodeIcon
public class NodeIcon
NodeIcon extends Node and provides an implementation of NodeIconInterface
| Field Summary | |
|---|---|
protected com.sas.visuals.IconInterface |
defaultIcon
Default Icon property. |
protected com.sas.visuals.IconInterface |
expandedIcon
Expanded icon property. |
protected com.sas.visuals.IconInterface |
expandedSelectedIcon
Expanded, Selected icon property. |
protected com.sas.visuals.IconInterface |
selectedIcon
Selected icon property. |
| Fields inherited from class com.sas.models.Node |
|---|
children, defaultNodeStyle, expandedNodeText, externalUpdateSupported, hasChildren, nodeStyle, nodeText, nodeType, objectData, RB_KEY |
| Constructor Summary | |
|---|---|
NodeIcon()
Constructs a NodeIcon object. |
|
NodeIcon(java.lang.String nodeText)
Constructs a NodeIcon object with the specified text string. |
|
NodeIcon(java.lang.String nodeText,
java.lang.String nodeType)
Constructs a NodeIcon object with the specified text and type strings. |
|
| Method Summary | |
|---|---|
com.sas.visuals.IconInterface |
getDefaultIcon()
Returns the default icon for the current node. |
com.sas.visuals.IconInterface |
getExpandedIcon()
Returns the expanded icon for the current node. |
com.sas.visuals.IconInterface |
getExpandedSelectedIcon()
Returns the expandedSelected icon for the current node. |
com.sas.visuals.IconInterface |
getSelectedIcon()
Returns the selected icon for the current node. |
void |
setDefaultIcon(com.sas.visuals.IconInterface newValue)
Sets the default icon for the current node. |
void |
setExpandedIcon(com.sas.visuals.IconInterface newValue)
Sets the expanded icon for the current node. |
void |
setExpandedSelectedIcon(com.sas.visuals.IconInterface newValue)
Sets the expandedSelected icon for the current node. |
void |
setSelectedIcon(com.sas.visuals.IconInterface newValue)
Sets the selected icon to be used for the current node. |
| 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 |
|---|
protected com.sas.visuals.IconInterface defaultIcon
protected com.sas.visuals.IconInterface selectedIcon
protected com.sas.visuals.IconInterface expandedIcon
protected com.sas.visuals.IconInterface expandedSelectedIcon
| Constructor Detail |
|---|
public NodeIcon()
Node.Node()public NodeIcon(java.lang.String nodeText)
nodeText - initial value of the nodeText propertyNode.Node(String)
public NodeIcon(java.lang.String nodeText,
java.lang.String nodeType)
nodeText - initial value of the nodeText property.nodeType - initial value of the nodeType property.Node.Node(String, String)| Method Detail |
|---|
public com.sas.visuals.IconInterface getDefaultIcon()
getDefaultIcon in interface NodeIconInterfacepublic com.sas.visuals.IconInterface getExpandedIcon()
getExpandedIcon in interface NodeIconInterfacegetDefaultIcon()public com.sas.visuals.IconInterface getExpandedSelectedIcon()
getExpandedSelectedIcon in interface NodeIconInterfacegetExpandedIcon()public com.sas.visuals.IconInterface getSelectedIcon()
getSelectedIcon in interface NodeIconInterfacegetDefaultIcon()public void setDefaultIcon(com.sas.visuals.IconInterface newValue)
newValue - the new default iconpublic void setExpandedIcon(com.sas.visuals.IconInterface newValue)
newValue - the new expanded iconpublic void setExpandedSelectedIcon(com.sas.visuals.IconInterface newValue)
newValue - the new expandedSelected iconpublic void setSelectedIcon(com.sas.visuals.IconInterface newValue)
newValue - the new selected icon
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||