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 final int FOCUS_HIERARCHY_GAINED
- See Also:
 - Constant Field Values
 
FOCUS_HIERARCHY_LOST
public static final int FOCUS_HIERARCHY_LOST
- See Also:
 - Constant Field Values
 
FOCUS_HIERARCHY_FIRST
public static final int FOCUS_HIERARCHY_FIRST
- See Also:
 - Constant Field Values
 
FOCUS_HIERARCHY_LAST
public static final int FOCUS_HIERARCHY_LAST
- See Also:
 - Constant Field Values
 
IDE_CONTAINER_UNKNOWN
public static final int IDE_CONTAINER_UNKNOWN
- See Also:
 - Constant Field Values
 
IDE_CONTAINER_EDITOR
public static final int IDE_CONTAINER_EDITOR
- See Also:
 - Constant Field Values
 
IDE_CONTAINER_DOCKABLE
public static final int IDE_CONTAINER_DOCKABLE
- See Also:
 - Constant Field Values
 
FocusHierarchyEvent
public FocusHierarchyEvent(java.awt.event.FocusEvent fe)
- The event can only be constructed from a FocusEvent.
 
getHierarchy
public java.util.ArrayList<java.awt.Component> 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.
 
 
getFocusComponent
public java.awt.Component getFocusComponent()
- Returns:
 - the bottom level of the hierarchy - the focus component itself
 
 
getIdeContainerType
public int getIdeContainerType()
- Returns:
 - takes values from IDE_CONTAINER_xxx
 
 
Copyright © 1997, 2011, Oracle. All rights reserved.