public class CheckDirty extends AbstractAction implements HashTreeTraverser, java.awt.event.ActionListener
| Constructor and Description |
|---|
CheckDirty() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
addNode(java.lang.Object node,
HashTree subTree)
The tree traverses itself depth-first, calling addNode for each
object it encounters as it goes.
|
void |
doAction(java.awt.event.ActionEvent e) |
java.util.Set<java.lang.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.
|
popupCheckExistingFileListener, popupShouldSavepublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void doAction(java.awt.event.ActionEvent e)
doAction in interface CommanddoAction in class AbstractActionCommand.doAction(ActionEvent)public void addNode(java.lang.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 java.util.Set<java.lang.String> getActionNames()
getActionNames in interface CommandCommand.getActionNames()Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.