public class JMeterTreeListener extends Object implements TreeSelectionListener, MouseListener, KeyListener
| Constructor and Description |
|---|
JMeterTreeListener()
Constructor for the
JMeterTreeListener object |
JMeterTreeListener(JMeterTreeModel model)
Constructor for the JMeterTreeListener object.
|
| Modifier and Type | Method and Description |
|---|---|
JMeterTreeNode |
getCurrentNode()
Gets the CurrentNode attribute of the JMeterTreeListener object.
|
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 |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent ev) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
TreePath |
removedSelectedNode() |
void |
setActionHandler(ActionListener ah)
Sets the ActionHandler attribute of the JMeterTreeListener object.
|
void |
setJTree(JTree tree)
Sets the JTree attribute of the JMeterTreeListener object.
|
void |
setModel(JMeterTreeModel m)
Set the
JMeterTreeModel for this listener |
void |
valueChanged(TreeSelectionEvent e) |
public JMeterTreeListener(JMeterTreeModel model)
model - The JMeterTreeModel for this listenerpublic JMeterTreeListener()
JMeterTreeListener objectpublic void setModel(JMeterTreeModel m)
JMeterTreeModel for this listenerm - The JMeterTreeModel to be usedpublic void setActionHandler(ActionListener ah)
ah - the new ActionHandler valuepublic void setJTree(JTree tree)
tree - the new JTree valuepublic JTree getJTree()
public JMeterTreeNode getCurrentNode()
public JMeterTreeNode[] getSelectedNodes()
public TreePath removedSelectedNode()
public void valueChanged(TreeSelectionEvent e)
valueChanged in interface TreeSelectionListenerpublic void mouseClicked(MouseEvent ev)
mouseClicked in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseExited(MouseEvent ev)
mouseExited in interface MouseListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerCopyright © 1998-2022 Apache Software Foundation. All Rights Reserved.