Package ptolemy.gui

Class Query.QueryFocusListener

  • All Implemented Interfaces:
    java.awt.event.FocusListener, java.util.EventListener
    Enclosing class:
    Query

    public static class Query.QueryFocusListener
    extends java.lang.Object
    implements java.awt.event.FocusListener
    Listener for line entries, for when they lose the focus.
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryFocusListener​(Query owner, java.lang.String name)
      Construct a listener for when line entries lose the focus.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void focusGained​(java.awt.event.FocusEvent e)  
      void focusLost​(java.awt.event.FocusEvent e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryFocusListener

        public QueryFocusListener​(Query owner,
                                  java.lang.String name)
        Construct a listener for when line entries lose the focus.
        Parameters:
        owner - The query object that owns the file chooser
        name - The name of the query object
    • Method Detail

      • focusGained

        public void focusGained​(java.awt.event.FocusEvent e)
        Specified by:
        focusGained in interface java.awt.event.FocusListener
      • focusLost

        public void focusLost​(java.awt.event.FocusEvent e)
        Specified by:
        focusLost in interface java.awt.event.FocusListener