org.apache.jmeter.gui.tree

Class JMeterTreeListener

Implemented Interfaces:
KeyListener, MouseListener, MouseMotionListener, TreeSelectionListener

public class JMeterTreeListener
extends Object
implements TreeSelectionListener, MouseListener, KeyListener, MouseMotionListener

Constructor Summary

JMeterTreeListener()
JMeterTreeListener(JMeterTreeModel model)
Constructor for the JMeterTreeListener object.

Method Summary

JMeterTreeNode
getCurrentNode()
Gets the CurrentNode attribute of the JMeterTreeListener object.
JMeterTreeNode[]
getDraggedNodes()
JTree
getJTree()
Gets the JTree attribute of the JMeterTreeListener object.
JMeterTreeNode[]
getSelectedNodes()
void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
void
mouseClicked(MouseEvent ev)
void
mouseDragged(MouseEvent e)
void
mouseEntered(MouseEvent e)
void
mouseExited(MouseEvent ev)
void
mouseMoved(MouseEvent e)
void
mousePressed(MouseEvent e)
void
mouseReleased(MouseEvent e)
TreePath
removedSelectedNode()
void
setActionHandler(ActionListener ah)
Sets the ActionHandler attribute of the JMeterTreeListener object.
void
setEndWindow(Container window)
Sets the EndWindow attribute of the JMeterTreeListener object.
void
setJTree(JTree tree)
Sets the JTree attribute of the JMeterTreeListener object.
void
setModel(JMeterTreeModel m)
void
valueChanged(TreeSelectionEvent e)

Constructor Details

JMeterTreeListener

public JMeterTreeListener()

JMeterTreeListener

public JMeterTreeListener(JMeterTreeModel model)
Constructor for the JMeterTreeListener object.

Method Details

getCurrentNode

public JMeterTreeNode getCurrentNode()
Gets the CurrentNode attribute of the JMeterTreeListener object.
Returns:
the CurrentNode value

getDraggedNodes

public JMeterTreeNode[] getDraggedNodes()

getJTree

public JTree getJTree()
Gets the JTree attribute of the JMeterTreeListener object.
Returns:
tree the current JTree value.

getSelectedNodes

public JMeterTreeNode[] getSelectedNodes()

keyPressed

public void keyPressed(KeyEvent e)

keyReleased

public void keyReleased(KeyEvent e)

keyTyped

public void keyTyped(KeyEvent e)

mouseClicked

public void mouseClicked(MouseEvent ev)

mouseDragged

public void mouseDragged(MouseEvent e)

mouseEntered

public void mouseEntered(MouseEvent e)

mouseExited

public void mouseExited(MouseEvent ev)

mouseMoved

public void mouseMoved(MouseEvent e)

mousePressed

public void mousePressed(MouseEvent e)

mouseReleased

public void mouseReleased(MouseEvent e)

removedSelectedNode

public TreePath removedSelectedNode()

setActionHandler

public void setActionHandler(ActionListener ah)
Sets the ActionHandler attribute of the JMeterTreeListener object.
Parameters:
ah - the new ActionHandler value

setEndWindow

public void setEndWindow(Container window)
Sets the EndWindow attribute of the JMeterTreeListener object.
Parameters:
window - the new EndWindow value

setJTree

public void setJTree(JTree tree)
Sets the JTree attribute of the JMeterTreeListener object.
Parameters:
tree - the new JTree value

setModel

public void setModel(JMeterTreeModel m)

valueChanged

public void valueChanged(TreeSelectionEvent e)

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