public class PickerCMouseEvent extends java.awt.event.MouseEvent implements PickerCEvent
BUTTON1, BUTTON2, BUTTON3, MOUSE_CLICKED, MOUSE_DRAGGED, MOUSE_ENTERED, MOUSE_EXITED, MOUSE_FIRST, MOUSE_LAST, MOUSE_MOVED, MOUSE_PRESSED, MOUSE_RELEASED, MOUSE_WHEEL, NOBUTTONALT_DOWN_MASK, ALT_GRAPH_DOWN_MASK, ALT_GRAPH_MASK, ALT_MASK, BUTTON1_DOWN_MASK, BUTTON1_MASK, BUTTON2_DOWN_MASK, BUTTON2_MASK, BUTTON3_DOWN_MASK, BUTTON3_MASK, CTRL_DOWN_MASK, CTRL_MASK, META_DOWN_MASK, META_MASK, SHIFT_DOWN_MASK, SHIFT_MASKCOMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWNACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, 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 |
|---|
PickerCMouseEvent(java.awt.Component source,
CShape picked,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
Builds a
PickerCMouseEvent. |
PickerCMouseEvent(java.awt.Component source,
CShape picked,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger,
int button)
Builds a
PickerCMouseEvent. |
PickerCMouseEvent(java.awt.Component source,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
Builds a
PickerCMouseEvent. |
PickerCMouseEvent(java.awt.Component source,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger,
int button)
Builds a
PickerCMouseEvent. |
| Modifier and Type | Method and Description |
|---|---|
CShape |
getPicked() |
Picker |
getPicker() |
void |
setPicked(CShape picked)
Sets the picked element for this event.
|
getButton, getClickCount, getLocationOnScreen, getModifiersEx, getMouseModifiersText, getPoint, getX, getXOnScreen, getY, getYOnScreen, isPopupTrigger, paramString, translatePointconsume, getMaskForButton, getModifiers, getModifiersExText, getWhen, isAltDown, isAltGraphDown, isConsumed, isControlDown, isMetaDown, isShiftDownequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetID, getSourcegetPointpublic PickerCMouseEvent(java.awt.Component source,
CShape picked,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger,
int button)
PickerCMouseEvent.source - The source of the eventpicked - The shape on which this event occurspicker - The picker that originates this eventid - The id of this eventwhen - The time at which this event occursmodifiers - The modifiers of this eventx - The x-location of this eventy - The y-location of this eventclickCount - The number of clicks of this eventpopupTrigger - If this event triggers a popupbutton - The mouse buttonpublic PickerCMouseEvent(java.awt.Component source,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger,
int button)
PickerCMouseEvent.source - The source of the eventpicker - The picker that originates this eventid - The id of this eventwhen - The time at which this event occursmodifiers - The modifiers of this eventx - The x-location of this eventy - The y-location of this eventclickCount - The number of clicks of this eventpopupTrigger - If this event triggers a popupbutton - The mouse buttonpublic PickerCMouseEvent(java.awt.Component source,
CShape picked,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
PickerCMouseEvent.source - The source of the eventpicked - The shape on which this event occurspicker - The picker that originates this eventid - The id of this eventwhen - The time at which this event occursmodifiers - The modifiers of this eventx - The x-location of this eventy - The y-location of this eventclickCount - The number of clicks of this eventpopupTrigger - If this event triggers a popuppublic PickerCMouseEvent(java.awt.Component source,
Picker picker,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
PickerCMouseEvent.source - The source of the eventpicker - The picker that originates this eventid - The id of this eventwhen - The time at which this event occursmodifiers - The modifiers of this eventx - The x-location of this eventy - The y-location of this eventclickCount - The number of clicks of this eventpopupTrigger - If this event triggers a popuppublic Picker getPicker()
getPicker in interface PickerEvent<CShape>public CShape getPicked()
getPicked in interface PickerEvent<CShape>public void setPicked(CShape picked)
PickerEventsetPicked in interface PickerEvent<CShape>picked - The picked element.