|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--com.sas.models.Node
|
+--com.sas.models.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(String nodeText)
Constructs an ActionNode. |
|
ActionNode(String nodeText,
String nodeType)
Constructs an ActionNode. |
|
| Method Summary | |
void |
addActionListener(ActionListener listener)
Adds the specified action listener to receive action events from this node. |
Object |
getActions()
Returns the actions that can be performed. |
void |
performAction(Object action)
Directs an object to perform an action. |
protected void |
processActionEvent(ActionEvent e)
Processes action events occurring on this node by dispatching them to any registered ActionListener objects. |
void |
removeActionListener(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(String[] actionList)
Sets the list of actions that can be performed on the current node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected StaticStringListInterface actions
| Constructor Detail |
public ActionNode()
public ActionNode(String nodeText)
nodeText - the text to set as nodeText
public ActionNode(String nodeText,
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(String[] actionList)
actionList - the string to set as the actionspublic Object getActions()
getActions in interface ActionInterfacepublic void performAction(Object action)
performAction in interface ActionInterfaceaction - the action to be performedpublic void addActionListener(ActionListener listener)
listener - the action listener to addpublic void removeActionListener(ActionListener listener)
listener - the action listener to removeprotected void processActionEvent(ActionEvent e)
e - the action event
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||