|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--gishur.core.event.GishurEvent | +--gishur.gui2.event.DrawEvent
Event class for events generated by DrawAtoms
and subclasses.
DrawAtom
, Serialized FormField Summary | |
static int |
ACTIVATE
ID: DisplayObject became active |
static int |
ACTIVATE_ELEMENT
ID: an element of a DisplayObject became active |
static int |
ACTIVATION_EVENT_MASK
The event mask for activation events ( ACTIVATE ,
ACTIVATE_ELEMENT ,DEACTIVATE ) |
static int |
CONNECTION_EVENT_MASK
The event mask for connection events ( INSERT ,REMOVE ) |
static int |
DEACTIVATE
ID: DisplayObject became inactive |
static int |
DESELECT
ID: DisplayObject was deselected |
static int |
DIRTY
ID: DrawAtom became dirty |
static int |
DIRTY_EVENT_MASK
The event mask for dirty events ( DIRTY ) |
static int |
DISABLE
ID: InputHandler was disabled |
static int |
DRAW_EVENT_MASK
Event Mask for all DrawEvents. |
static int |
ENABLE
ID: InputHandler was enabled |
static int |
ENABLE_EVENT_MASK
The event mask for enable/disable events ( ENABLE ,DISABLE ) |
static int |
HIDE
ID: DrawAtom was hidden |
static int |
INSERT
ID: DrawAtom was inserted in hierachy |
static int |
INTERNAL_EVENTS_MASK
Event Mask for internal events. |
static int |
MEMBER_NEEDS_RECALC
ID: a member of the DrawAtom needs to be recalulated |
static int |
MEMBER_NEEDS_REPAINT
ID: a member of the DrawAtom needs to be repainted |
static int |
NEEDS_RECALC
ID: DrawAtom needs to be recalulated |
static int |
NEEDS_REPAINT
ID: DrawAtom needs to be repainted |
static int |
RECALC
ID: DrawAtom has recalculated |
static int |
RECALC_EVENT_MASK
The event mask for recalculation events ( RECALC ) |
static int |
REMOVE
ID: DrawAtom will be removed from hierachy |
static int |
SELECT
ID: DisplayObject was selected |
static int |
SELECTION_EVENT_MASK
The event mask for selection events ( SELECT ,DESELECT ) |
static int |
SHOW
ID: DrawAtom showed up |
static int |
VISIBILITY_EVENT_MASK
The event mask for visibility events ( SHOW ,HIDE ) |
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, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DrawEvent(DrawAtom source,
int id)
Constructs a DrawEvent with the given source DrawAtom and ID. |
Method Summary | |
long |
getWhen()
Returns the timestamp of when this event occurred. |
static java.lang.String |
idToString(int id)
Returns a string representation of the given DrawEvent id. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class gishur.core.event.GishurEvent |
isMaskedBy |
Methods inherited from class java.awt.AWTEvent |
consume, finalize, getID, isConsumed, paramString |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CONNECTION_EVENT_MASK
INSERT
,REMOVE
)public static final int RECALC_EVENT_MASK
RECALC
)public static final int DIRTY_EVENT_MASK
DIRTY
)public static final int VISIBILITY_EVENT_MASK
SHOW
,HIDE
)public static final int SELECTION_EVENT_MASK
SELECT
,DESELECT
)public static final int ACTIVATION_EVENT_MASK
ACTIVATE
,
ACTIVATE_ELEMENT
,DEACTIVATE
)public static final int ENABLE_EVENT_MASK
ENABLE
,DISABLE
)public static final int DRAW_EVENT_MASK
public static final int INTERNAL_EVENTS_MASK
public static final int INSERT
DrawAtom
was inserted in hierachypublic static final int REMOVE
DrawAtom
will be removed from hierachypublic static final int RECALC
DrawAtom
has recalculatedpublic static final int DIRTY
DrawAtom
became dirtypublic static final int NEEDS_RECALC
DrawAtom
needs to be recalulatedpublic static final int NEEDS_REPAINT
DrawAtom
needs to be repaintedpublic static final int MEMBER_NEEDS_RECALC
DrawAtom
needs to be recalulatedpublic static final int MEMBER_NEEDS_REPAINT
DrawAtom
needs to be repaintedpublic static final int SHOW
DrawAtom
showed uppublic static final int HIDE
DrawAtom
was hiddenpublic static final int ACTIVATE
DisplayObject
became activepublic static final int ACTIVATE_ELEMENT
DisplayObject
became activepublic static final int DEACTIVATE
DisplayObject
became inactivepublic static final int SELECT
DisplayObject
was selectedpublic static final int DESELECT
DisplayObject
was deselectedpublic static final int ENABLE
InputHandler
was enabledpublic static final int DISABLE
InputHandler
was disabledConstructor Detail |
public DrawEvent(DrawAtom source, int id)
DrawAtom
and ID.source
- source objectid
- IDMethod Detail |
public long getWhen()
this
event occurred.this
event occurred.public java.lang.String toString()
toString
in class java.awt.AWTEvent
public static java.lang.String idToString(int id)
DrawEvent
id.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |