JML

java.awt.event
Class FocusEvent

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

public class FocusEvent
extends ComponentEvent


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
static int FOCUS_FIRST
           
static int FOCUS_GAINED
           
static int FOCUS_LAST
           
static int FOCUS_LOST
           
(package private)  Component opposite
           
private static long serialVersionUID
           
(package private)  boolean temporary
           
 
Fields inherited from class java.awt.event.ComponentEvent
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWN
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FocusEvent(Component, int)
           
FocusEvent(Component, int, boolean)
           
FocusEvent(Component, int, boolean, Component)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 Component getOppositeComponent()
           
 boolean isTemporary()
           
 String paramString()
           
 
Methods inherited from class java.awt.event.ComponentEvent
getComponent
 
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, setSource, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

temporary

boolean temporary

FOCUS_LOST

public static final int FOCUS_LOST

FOCUS_LAST

public static final int FOCUS_LAST

FOCUS_GAINED

public static final int FOCUS_GAINED

FOCUS_FIRST

public static final int FOCUS_FIRST

opposite

transient Component opposite

serialVersionUID

private static final long serialVersionUID
Constructor Detail

FocusEvent

public FocusEvent(Component,
                  int)

FocusEvent

public FocusEvent(Component,
                  int,
                  boolean)

FocusEvent

public FocusEvent(Component,
                  int,
                  boolean,
                  Component)
Method Detail

isTemporary

public boolean isTemporary()

getOppositeComponent

public Component getOppositeComponent()

paramString

public String paramString()
Overrides:
paramString in class ComponentEvent

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.