HOME

com.ultraswing
Class DockingEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--java.awt.event.ActionEvent
                    |
                    +--com.ultraswing.DockingEvent
All Implemented Interfaces:
Serializable

public class DockingEvent
extends ActionEvent

Docking event object

See Also:
Serialized Form

Field Summary
static int COMPONENT_DOCKED
          This event indicates that the component was docked
static int COMPONENT_FLOATED
          This event indicates that the component was made floating
static int COMPONENT_HIDDEN
          This event indicates that the component was rendered invisible.
static int COMPONENT_MOVED
          This event indicates that the component's position changed.
static int COMPONENT_RESIZED
          This event indicates that the component's size changed.
static int COMPONENT_SHOWN
          This event indicates that the component was made visible.
 
Fields inherited from class java.awt.event.ActionEvent
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK
 
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
DockingEvent(Component source, int id)
          Constructs a DockingEvent
DockingEvent(Component source, int id, Rectangle rect)
          Constructs a DockingEvent
 
Method Summary
 Rectangle getBounds()
          Returns the bounds of this component right before event occurred
 
Methods inherited from class java.awt.event.ActionEvent
getActionCommand, getModifiers, getWhen, paramString
 
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

COMPONENT_MOVED

public static final int COMPONENT_MOVED
This event indicates that the component's position changed.

See Also:
Constant Field Values

COMPONENT_RESIZED

public static final int COMPONENT_RESIZED
This event indicates that the component's size changed.

See Also:
Constant Field Values

COMPONENT_SHOWN

public static final int COMPONENT_SHOWN
This event indicates that the component was made visible.

See Also:
Constant Field Values

COMPONENT_HIDDEN

public static final int COMPONENT_HIDDEN
This event indicates that the component was rendered invisible.

See Also:
Constant Field Values

COMPONENT_FLOATED

public static final int COMPONENT_FLOATED
This event indicates that the component was made floating

See Also:
Constant Field Values

COMPONENT_DOCKED

public static final int COMPONENT_DOCKED
This event indicates that the component was docked

See Also:
Constant Field Values
Constructor Detail

DockingEvent

public DockingEvent(Component source,
                    int id)
Constructs a DockingEvent

Parameters:
source - event source
id - event id

DockingEvent

public DockingEvent(Component source,
                    int id,
                    Rectangle rect)
Constructs a DockingEvent

Parameters:
source - event source
id - event id
rect - the bounds of this component right before event occurred
Method Detail

getBounds

public Rectangle getBounds()
Returns the bounds of this component right before event occurred


HOME

Copyright © 2002 iReasoning Networks. All Rights Reserved.