jadex.swing
Class CategoryTreeSelectionListener

java.lang.Object
  |
  +--jadex.swing.CategoryTreeSelectionListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.TreeSelectionListener

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

This class is used to control the selection activity in CategoryTree.


Constructor Summary
CategoryTreeSelectionListener()
          Default constructor.
CategoryTreeSelectionListener(javax.swing.JTabbedPane pane)
          An overloaded constructor with a JTabbedPane as the only argument.
 
Method Summary
 javax.swing.JTabbedPane getTabbedPane()
          Export the JTabbedPane
 void setTabbedPane(javax.swing.JTabbedPane pane)
          Set the JTabbedPane
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
          The actual selectionListener method to process the selection evenet in CategoryTree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryTreeSelectionListener

public CategoryTreeSelectionListener()
Default constructor.

CategoryTreeSelectionListener

public CategoryTreeSelectionListener(javax.swing.JTabbedPane pane)
An overloaded constructor with a JTabbedPane as the only argument.
Parameters:
pane - the JTabbedPane to display the selected object
Method Detail

getTabbedPane

public javax.swing.JTabbedPane getTabbedPane()
Export the JTabbedPane
Returns:
the JTabbedPane to display the objects of the selected class.

setTabbedPane

public void setTabbedPane(javax.swing.JTabbedPane pane)
Set the JTabbedPane
Parameters:
panel - the JTabbedPane to be dispplayed.

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
The actual selectionListener method to process the selection evenet in CategoryTree.
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
Parameters:
e - a TreeSelectionEvent to be processed.