|
|||||||||
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.core.event.ConsumableEvent | +--gishur.core.event.ModifyEvent
Event class for tracking modification of objects. Based on
java.awt.AWTEvent
events of this type can be dispatched on
every Component
.
Field Summary | |
static int |
ACTION
ID: Another modification-related action. |
static int |
CANCEL_MODIFICATION
ID: Modification was canceled |
static int |
DO_ACTION
Sub-Type: General Action. |
static int |
DO_MODIFICATION
ID: Event released while the modification of the target object takes place. |
static int |
FINISH_MODIFICATION
ID: Modification finishes. |
static int |
INPUT_OBJECT
Sub-Type: Input of an object. |
static int |
MODIFY_EVENT_MASK
Event Mask for ModifyEvents ( =={link GishurEvent#MIN_GISHUR_MASK} ). |
static int |
MODIFY_OBJECT
Sub-Type: General object modification. |
static int |
MOVE_OBJECT
Sub-Type: Object moved. |
static int |
REMOVE_OBJECT
Sub-Type: Input of an object. |
static int |
RESERVED_SUBTYPE_MAX
Maximum sub-type value used in this class. |
static int |
ROTATE_OBJECT
Sub-Type: Object rotated. |
static int |
SCALE_OBJECT
Sub-Type: Object scaled. |
static int |
START_MODIFICATION
ID: Begin a modification of the target object. |
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 | |
ModifyEvent(java.lang.Object source,
int id,
int subtype,
java.lang.Object target)
Constructs a new ModifyEvent with the specified source object, id subtype-id and target object |
Method Summary | |
int |
getSubType()
Returns the sub-type of the event. |
java.lang.Object |
getTarget()
Returns the modified target object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class gishur.core.event.ConsumableEvent |
clone, consume, isConsumed |
Methods inherited from class gishur.core.event.GishurEvent |
isMaskedBy |
Methods inherited from class java.awt.AWTEvent |
finalize, getID, paramString |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MODIFY_EVENT_MASK
=={link GishurEvent#MIN_GISHUR_MASK}
).public static final int START_MODIFICATION
public static final int DO_MODIFICATION
public static final int FINISH_MODIFICATION
public static final int CANCEL_MODIFICATION
public static final int ACTION
public static final int DO_ACTION
public static final int INPUT_OBJECT
public static final int REMOVE_OBJECT
public static final int MODIFY_OBJECT
public static final int MOVE_OBJECT
public static final int SCALE_OBJECT
public static final int ROTATE_OBJECT
public static final int RESERVED_SUBTYPE_MAX
Constructor Detail |
public ModifyEvent(java.lang.Object source, int id, int subtype, java.lang.Object target)
source
- source object that generated the eventid
- type of the eventsubtype
- sub-type of the eventtarget
- target object that was modifiedMethod Detail |
public java.lang.Object getTarget()
public int getSubType()
public java.lang.String toString()
toString
in class java.awt.AWTEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |