org.gnu.gtk.event
Class FocusEvent

java.lang.Object
  |
  +--org.gnu.gtk.event.GtkEvent
        |
        +--org.gnu.gtk.event.FocusEvent
All Implemented Interfaces:
java.io.Serializable

public class FocusEvent
extends GtkEvent

Author:
Jeffrey S. Morgan This event is used to identify when an object gains and loses focus.
See Also:
FocusListener, Serialized Form

Nested Class Summary
static class FocusEvent.Type
           
 
Constructor Summary
FocusEvent(java.lang.Object source, FocusEvent.Type type)
          Construct a FocusEvent object.
 
Method Summary
 boolean isOfType(FocusEvent.Type aType)
           
 
Methods inherited from class org.gnu.gtk.event.GtkEvent
getSource, getType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FocusEvent

public FocusEvent(java.lang.Object source,
                  FocusEvent.Type type)
Construct a FocusEvent object.

Method Detail

isOfType

public boolean isOfType(FocusEvent.Type aType)
Returns:
True if the type of this event is the same as that stated.

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net