oracle.ide.controls
Class FocusHierarchyEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
oracle.ide.controls.FocusHierarchyEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class FocusHierarchyEvent
- extends java.awt.AWTEvent
Represents an focus change. FocusHierarchyEvent has the window chain between
the focused component and the top level window.
- See Also:
- Serialized Form
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 |
FocusHierarchyEvent(java.awt.event.FocusEvent fe)
The event can only be constructed from a FocusEvent |
Methods inherited from class java.awt.AWTEvent |
consume, getID, isConsumed, paramString, 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 |
FOCUS_HIERARCHY_GAINED
public static int FOCUS_HIERARCHY_GAINED
FOCUS_HIERARCHY_LOST
public static int FOCUS_HIERARCHY_LOST
FOCUS_HIERARCHY_FIRST
public static int FOCUS_HIERARCHY_FIRST
FOCUS_HIERARCHY_LAST
public static int FOCUS_HIERARCHY_LAST
IDE_CONTAINER_UNKNOWN
public static int IDE_CONTAINER_UNKNOWN
IDE_CONTAINER_EDITOR
public static int IDE_CONTAINER_EDITOR
IDE_CONTAINER_DOCKABLE
public static int IDE_CONTAINER_DOCKABLE
FocusHierarchyEvent
public FocusHierarchyEvent(java.awt.event.FocusEvent fe)
- The event can only be constructed from a FocusEvent
getHierarchy
public java.util.ArrayList getHierarchy()
isTemporary
public boolean isTemporary()
contains
public boolean contains(java.awt.Component c)
- Returns:
- true if c has the focus or is the parent of the component that has
the focus.
top
public java.awt.Window top()
- Returns:
- the top level parent of the focus owner.
getIdeContainerType
public int getIdeContainerType()
- Returns:
- takes values from IDE_CONTAINER_xxx
Copyright © 1997, 2004, Oracle. All rights reserved.