Package org.apache.jmeter.gui.tree
Class JMeterTreeListener
java.lang.Object
org.apache.jmeter.gui.tree.JMeterTreeListener
- All Implemented Interfaces:
KeyListener
,MouseListener
,EventListener
,TreeSelectionListener
public class JMeterTreeListener
extends Object
implements TreeSelectionListener, MouseListener, KeyListener
-
Constructor Summary
ConstructorDescriptionConstructor for theJMeterTreeListener
objectConstructor for the JMeterTreeListener object. -
Method Summary
Modifier and TypeMethodDescriptionGets the CurrentNode attribute of the JMeterTreeListener object.getJTree()
Gets the JTree attribute of the JMeterTreeListener object.void
void
void
void
void
void
void
void
void
Sets the ActionHandler attribute of the JMeterTreeListener object.void
Sets the JTree attribute of the JMeterTreeListener object.void
Set theJMeterTreeModel
for this listenervoid
-
Constructor Details
-
JMeterTreeListener
Constructor for the JMeterTreeListener object.- Parameters:
model
- TheJMeterTreeModel
for this listener
-
JMeterTreeListener
public JMeterTreeListener()Constructor for theJMeterTreeListener
object
-
-
Method Details
-
setModel
Set theJMeterTreeModel
for this listener- Parameters:
m
- TheJMeterTreeModel
to be used
-
setActionHandler
Sets the ActionHandler attribute of the JMeterTreeListener object.- Parameters:
ah
- the new ActionHandler value
-
setJTree
Sets the JTree attribute of the JMeterTreeListener object.- Parameters:
tree
- the new JTree value
-
getJTree
Gets the JTree attribute of the JMeterTreeListener object.- Returns:
- tree the current JTree value.
-
getCurrentNode
Gets the CurrentNode attribute of the JMeterTreeListener object.- Returns:
- the CurrentNode value
-
getSelectedNodes
-
removedSelectedNode
-
valueChanged
- Specified by:
valueChanged
in interfaceTreeSelectionListener
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
keyPressed
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
- Specified by:
keyReleased
in interfaceKeyListener
-
keyTyped
- Specified by:
keyTyped
in interfaceKeyListener
-