public class CheckDirty extends AbstractAction implements HashTreeTraverser, ActionListener
| Constructor and Description |
|---|
CheckDirty() |
| Modifier and Type | Method and 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.
|
getParentFrame, popupCheckExistingFileListener, 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 CommandCommand.getActionNames()Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.