public class ReportCheckDirty extends AbstractAction implements HashTreeTraverser, ActionListener
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_ALL |
static String |
CHECK_DIRTY |
static String |
REMOVE |
static String |
SUB_TREE_LOADED |
static String |
SUB_TREE_SAVED |
| Constructor and Description |
|---|
ReportCheckDirty() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
addNode(Object node,
HashTree subTree)
The tree traverses itself depth-first, calling processNode 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 static final String CHECK_DIRTY
public static final String SUB_TREE_SAVED
public static final String SUB_TREE_LOADED
public static final String ADD_ALL
public static final String REMOVE
public 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-2015 Apache Software Foundation. All Rights Reserved.