Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.controls
Class FocusHierarchyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.AWTEvent
          extended by 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

Field Summary
static int FOCUS_HIERARCHY_FIRST
           
static int FOCUS_HIERARCHY_GAINED
           
static int FOCUS_HIERARCHY_LAST
           
static int FOCUS_HIERARCHY_LOST
           
static int IDE_CONTAINER_DOCKABLE
           
static int IDE_CONTAINER_EDITOR
           
static int IDE_CONTAINER_UNKNOWN
           

 

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.

 

Method Summary
 boolean contains(java.awt.Component c)
           
 java.awt.Component getFocusComponent()
           
 java.util.ArrayList<java.awt.Component> getHierarchy()
           
 int getIdeContainerType()
           
 boolean isTemporary()
           
 java.awt.Window top()
           

 

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

 

Field Detail

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

Constructor Detail

FocusHierarchyEvent

public FocusHierarchyEvent(java.awt.event.FocusEvent fe)
The event can only be constructed from a FocusEvent.

Method Detail

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.