org.apache.jmeter.report.gui.action

Class ReportCheckDirty

Implemented Interfaces:
ActionListener, Command, HashTreeTraverser

public class ReportCheckDirty
extends AbstractAction
implements HashTreeTraverser, ActionListener

Field Summary

static String
ADD_ALL
static String
CHECK_DIRTY
static String
REMOVE
static String
SUB_TREE_LOADED
static String
SUB_TREE_SAVED

Constructor Summary

ReportCheckDirty()

Method Summary

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
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.

Methods inherited from class org.apache.jmeter.report.gui.action.AbstractAction

doAction, getActionNames, popupShouldSave

Field Details

ADD_ALL

public static final String ADD_ALL

CHECK_DIRTY

public static final String CHECK_DIRTY

REMOVE

public static final String REMOVE

SUB_TREE_LOADED

public static final String SUB_TREE_LOADED

SUB_TREE_SAVED

public static final String SUB_TREE_SAVED

Constructor Details

ReportCheckDirty

public ReportCheckDirty()

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)

addNode

public void addNode(Object node,
                    HashTree subTree)
The tree traverses itself depth-first, calling processNode for each object it encounters as it goes.
Specified by:
addNode in interface HashTreeTraverser

doAction

public void doAction(ActionEvent e)
Specified by:
doAction in interface Command
Overrides:
doAction in interface AbstractAction

getActionNames

public Set getActionNames()
Specified by:
getActionNames in interface Command
Overrides:
getActionNames in interface AbstractAction

processPath

public void processPath()
Process path is called when a leaf is reached. If a visitor wishes to generate Lists of path elements to each leaf, it should keep a Stack data structure of nodes passed to it with addNode, and removing top items for every subtractNode() call.
Specified by:
processPath in interface HashTreeTraverser

subtractNode

public void subtractNode()
Indicates traversal has moved up a step, and the visitor should remove the top node from it's stack structure.
Specified by:
subtractNode in interface HashTreeTraverser

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.