org.xulux.guilayer.swing.listeners
Class ImmidiateTreeSelectionListener

java.lang.Object
  extended by org.xulux.guilayer.swing.listeners.ImmidiateTreeSelectionListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener, javax.swing.event.TreeSelectionListener

public class ImmidiateTreeSelectionListener
extends java.lang.Object
implements javax.swing.event.ListSelectionListener, javax.swing.event.TreeSelectionListener

The ImmidiateTreeSelectionListeners fires of events when a new tree selection is selected. The execute method in the rules are being called.

Version:
$Id: ImmidiateTreeSelectionListener.java,v 1.1 2005/12/18 12:58:21 mvdb Exp $
Author:
Martin van den Bemt

Field Summary
protected  org.xulux.api.gui.IWidget widget
          The widget
 
Constructor Summary
ImmidiateTreeSelectionListener(org.xulux.api.gui.IWidget widget)
           
 
Method Summary
 void selectionChanged()
          Refresh the value of all widgets that are pointing this widget.
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

widget

protected org.xulux.api.gui.IWidget widget
The widget

Constructor Detail

ImmidiateTreeSelectionListener

public ImmidiateTreeSelectionListener(org.xulux.api.gui.IWidget widget)
Parameters:
widget - the widget
Method Detail

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener
See Also:
ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent)

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
See Also:
TreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)

selectionChanged

public void selectionChanged()
Refresh the value of all widgets that are pointing this widget.



Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.