ptolemy.gui
Class Query.QueryItemListener

java.lang.Object
  extended by ptolemy.gui.Query.QueryItemListener
All Implemented Interfaces:
java.awt.event.ItemListener, java.util.EventListener
Enclosing class:
Query

public static class Query.QueryItemListener
extends java.lang.Object
implements java.awt.event.ItemListener

Listener for "CheckBox" and "Choice" entries.


Field Summary
private  java.lang.String _name
           
private  Query _owner
           
 
Constructor Summary
Query.QueryItemListener(Query owner, java.lang.String name)
          Create a listener for the CheckBox and Choice entries.
 
Method Summary
 void itemStateChanged(java.awt.event.ItemEvent e)
          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.QueryItemListener

public Query.QueryItemListener(Query owner,
                               java.lang.String name)
Create a listener for the CheckBox and Choice entries.

Parameters:
owner - The owner query
name - The name of the query
Method Detail

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Call all registered QueryListeners.

Specified by:
itemStateChanged in interface java.awt.event.ItemListener