ptolemy.gui
Class Query.QueryFocusListener

java.lang.Object
  extended by ptolemy.gui.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.


Field Summary
private  java.lang.String _name
           
private  Query _owner
           
 
Constructor Summary
Query.QueryFocusListener(Query owner, java.lang.String name)
          Construct a listener for when line entries lose the focus.
 
Method Summary
 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
 

Field Detail

_owner

private Query _owner

_name

private java.lang.String _name
Constructor Detail

Query.QueryFocusListener

public Query.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