|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.models.ActionNode
public class ActionNode
ActionNode extends com.sas.models.Node and provides an implementation of com.sas.models.ActionInterface.
| Field Summary | |
|---|---|
protected StaticStringListInterface |
actions
List of actions for the current node. |
| Fields inherited from class com.sas.models.Node |
|---|
children, defaultNodeStyle, expandedNodeText, externalUpdateSupported, hasChildren, nodeStyle, nodeText, nodeType, objectData, RB_KEY |
| Constructor Summary | |
|---|---|
ActionNode()
Constructs an ActionNode. |
|
ActionNode(java.lang.String nodeText)
Constructs an ActionNode. |
|
ActionNode(java.lang.String nodeText,
java.lang.String nodeType)
Constructs an ActionNode. |
|
| Method Summary | |
|---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Adds the specified action listener to receive action events from this node. |
java.lang.Object |
getActions()
Returns the actions that can be performed. |
void |
performAction(java.lang.Object action)
Directs an object to perform an action. |
protected void |
processActionEvent(java.awt.event.ActionEvent e)
Processes action events occurring on this node by dispatching them to any registered ActionListener objects. |
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes the specified action listener so it no longer receives action events from this node. |
void |
setActionList(StaticStringListInterface actionList)
Sets the list of actions that can be performed on the current node. |
void |
setActionList(java.lang.String[] actionList)
Sets the list of actions that can be performed on the current node. |
| Field Detail |
|---|
protected StaticStringListInterface actions
| Constructor Detail |
|---|
public ActionNode()
public ActionNode(java.lang.String nodeText)
nodeText - the text to set as nodeText
public ActionNode(java.lang.String nodeText,
java.lang.String nodeType)
nodeText - the text to set as nodeTexttype - the type to set as nodeType| Method Detail |
|---|
public void setActionList(StaticStringListInterface actionList)
actionList - string list to set as the actionspublic void setActionList(java.lang.String[] actionList)
actionList - the string to set as the actionspublic java.lang.Object getActions()
getActions in interface ActionInterfacepublic void performAction(java.lang.Object action)
performAction in interface ActionInterfaceaction - the action to be performedpublic void addActionListener(java.awt.event.ActionListener listener)
listener - the action listener to addpublic void removeActionListener(java.awt.event.ActionListener listener)
listener - the action listener to removeprotected void processActionEvent(java.awt.event.ActionEvent e)
e - the action event
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||