ActionListener, EventListener, Command, HashTreeTraverserpublic class CheckDirty extends AbstractAction implements HashTreeTraverser, ActionListener
| Constructor | Description |
|---|---|
CheckDirty() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(ActionEvent e) |
|
void |
addNode(Object node,
HashTree subTree) |
The tree traverses itself depth-first, calling addNode for each
object it encounters as it goes.
|
void |
doAction(ActionEvent e) |
|
Set<String> |
getActionNames() |
|
void |
processPath() |
Process path is called when a leaf is reached.
|
void |
subtractNode() |
Indicates traversal has moved up a step, and the visitor should remove
the top node from it's stack structure.
|
popupShouldSavepublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void doAction(ActionEvent e)
doAction in interface CommanddoAction in class AbstractActionCommand.doAction(ActionEvent)public void addNode(Object node, HashTree subTree)
addNode in interface HashTreeTraversernode - the node currently encounteredsubTree - the HashTree under the node encounteredpublic void subtractNode()
subtractNode in interface HashTreeTraverserpublic void processPath()
processPath in interface HashTreeTraverserpublic Set<String> getActionNames()
getActionNames in interface CommandgetActionNames in class AbstractActionCommand.getActionNames()Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.