swingwt.awt.event
Class FocusEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byswingwt.awt.AWTEvent
          extended byswingwt.awt.event.ComponentEvent
              extended byswingwt.awt.event.FocusEvent
All Implemented Interfaces:
java.io.Serializable

public class FocusEvent
extends ComponentEvent
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int FOCUS_FIRST
           
static int FOCUS_GAINED
           
static int FOCUS_LAST
           
static int FOCUS_LOST
           
 
Fields inherited from class swingwt.awt.event.ComponentEvent
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWN
 
Fields inherited from class swingwt.awt.AWTEvent
consumed, eventID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FocusEvent(Component source, int id)
           
FocusEvent(Component source, int id, boolean temporary)
           
FocusEvent(Component source, int id, boolean temporary, Component opposite)
           
 
Method Summary
 Component getOppositeComponent()
           
 boolean isTemporary()
           
 
Methods inherited from class swingwt.awt.event.ComponentEvent
getComponent
 
Methods inherited from class swingwt.awt.AWTEvent
consume, getID, isConsumed, setSource
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FOCUS_FIRST

public static final int FOCUS_FIRST
See Also:
Constant Field Values

FOCUS_LAST

public static final int FOCUS_LAST
See Also:
Constant Field Values

FOCUS_GAINED

public static final int FOCUS_GAINED
See Also:
Constant Field Values

FOCUS_LOST

public static final int FOCUS_LOST
See Also:
Constant Field Values
Constructor Detail

FocusEvent

public FocusEvent(Component source,
                  int id,
                  boolean temporary)

FocusEvent

public FocusEvent(Component source,
                  int id)

FocusEvent

public FocusEvent(Component source,
                  int id,
                  boolean temporary,
                  Component opposite)
Method Detail

isTemporary

public boolean isTemporary()

getOppositeComponent

public Component getOppositeComponent()