public class P2DOrderEvent extends java.awt.AWTEvent implements P2DOrderEventInterface
Modifier and Type | Field and Description |
---|---|
static int |
POP_TO_FRONT
The id for the pop to front event.
|
static int |
PUSH_TO_BACK
The id for the push to back event.
|
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
Constructor and Description |
---|
P2DOrderEvent(P2DContainerInterface component,
boolean flag)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
P2DContainerInterface |
getComponent()
Get the source of the event.
|
java.lang.String |
toString() |
public static int POP_TO_FRONT
public static int PUSH_TO_BACK
public P2DOrderEvent(P2DContainerInterface component, boolean flag)
component
- The event source.flag
- true for pop to front eventpublic P2DContainerInterface getComponent()
getComponent
in interface P2DOrderEventInterface
public java.lang.String toString()
toString
in class java.awt.AWTEvent