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, popupShouldSave
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void doAction(ActionEvent e)
doAction
in interface Command
doAction
in class AbstractAction
Command.doAction(ActionEvent)
public void addNode(Object node, HashTree subTree)
addNode
in interface HashTreeTraverser
node
- the node currently encounteredsubTree
- the HashTree under the node encounteredpublic void subtractNode()
subtractNode
in interface HashTreeTraverser
public void processPath()
processPath
in interface HashTreeTraverser
public Set<String> getActionNames()
getActionNames
in interface Command
Command.getActionNames()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.