Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.dods.gui.tree
Class AttributeTreeSelectionListener  view AttributeTreeSelectionListener download AttributeTreeSelectionListener.java

java.lang.Object
  extended bycom.lutris.dods.gui.tree.AttributeTreeSelectionListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.TreeSelectionListener

public final class AttributeTreeSelectionListener
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener

When a node is selected in the Attribute Editor, that node's name is displayed in the appropriate TextField.


Field Summary
private  javax.swing.JTextField packageName
           
private  javax.swing.JTree tree
           
 
Constructor Summary
AttributeTreeSelectionListener(javax.swing.JTree tre, javax.swing.JTextField packageNam)
          Initializes the variables.
 
Method Summary
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
          When the node is selected, this updates the Textfield.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tree

private javax.swing.JTree tree

packageName

private javax.swing.JTextField packageName
Constructor Detail

AttributeTreeSelectionListener

public AttributeTreeSelectionListener(javax.swing.JTree tre,
                                      javax.swing.JTextField packageNam)
Initializes the variables.

Method Detail

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
When the node is selected, this updates the Textfield.

Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener