ptolemy.gui
Class Query.SliderListener

java.lang.Object
  extended by ptolemy.gui.Query.SliderListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener
Enclosing class:
Query

public static class Query.SliderListener
extends java.lang.Object
implements javax.swing.event.ChangeListener

Listener for changes in slider.


Field Summary
private  java.lang.String _name
           
private  Query _owner
           
 
Constructor Summary
Query.SliderListener(Query owner, java.lang.String name)
          Construct a listener for changes in a slider.
 
Method Summary
 void stateChanged(javax.swing.event.ChangeEvent event)
          Call all registered QueryListeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_owner

private Query _owner

_name

private java.lang.String _name
Constructor Detail

Query.SliderListener

public Query.SliderListener(Query owner,
                            java.lang.String name)
Construct a listener for changes in a slider.

Parameters:
owner - The query object that owns slider.
name - The name of the query object
Method Detail

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent event)
Call all registered QueryListeners.

Specified by:
stateChanged in interface javax.swing.event.ChangeListener