Package ptolemy.gui

Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryItemListener​(Query owner, java.lang.String name)
      Create a listener for the CheckBox and Choice entries.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • QueryItemListener

        public 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