Package ptolemy.gui

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

      Constructors 
      Constructor Description
      SliderListener​(Query owner, java.lang.String name)
      Construct a listener for changes in a slider.
    • Method Summary

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

      • SliderListener

        public 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