// Container endWindow;
// JPopupMenu pop;
private TreePath currentPath;
private ActionListener actionHandler;
private [[#variabledff6360]] model;
private JTree tree;
private boolean dragging = false;
private [[#variabledff3720]][] draggedNodes;
private JLabel dragIcon = new JLabel(JMeterUtils.getImage("leafnode.gif")); // $NON-NLS-1$
/**
* Constructor for the JMeterTreeListener object.
*/
public [[#variabledff6320]]( [[#variabledff6360]] model) {
this.model = model;
dragIcon.validate();
dragIcon.setVisible(true);
}
public [[#variabledff6320]]() {
dragIcon.validate();
dragIcon.setVisible(true);
}
public void setModel( [[#variabledff6360]] m) {
model = m;
}
/**
* Sets the ActionHandler attribute of the JMeterTreeListener object.
*
* @param ah
* the new ActionHandler value
*/
public void setActionHandler(ActionListener ah) {
actionHandler = ah;
}
/**
* Sets the JTree attribute of the JMeterTreeListener object.
*
* @param tree
* the new JTree value
*/
public void setJTree(JTree tree) {
this.tree = tree;
}
/**
* Sets the EndWindow attribute of the JMeterTreeListener object.
*
* @param window
* the new EndWindow value
*/
public void setEndWindow(Container window) {
// endWindow = window;
}
/**
* Gets the JTree attribute of the JMeterTreeListener object.
*
* @return tree the current JTree value.
*/
public JTree getJTree() {
return tree;
}
|