public class DisplayReferenceEvent extends DisplayEvent
COMPONENT_RESIZED, DESTROYED, FRAME_DONE, KEY_PRESSED, KEY_RELEASED, MAP_ADDED, MAP_REMOVED, MAPS_CLEARED, MOUSE_DRAGGED, MOUSE_ENTERED, MOUSE_EXITED, MOUSE_MOVED, MOUSE_PRESSED, MOUSE_PRESSED_CENTER, MOUSE_PRESSED_LEFT, MOUSE_PRESSED_RIGHT, MOUSE_RELEASED, MOUSE_RELEASED_CENTER, MOUSE_RELEASED_LEFT, MOUSE_RELEASED_RIGHT, REFERENCE_ADDED, REFERENCE_REMOVED, TRANSFORM_DONE, WAIT_OFF, WAIT_ON
LOCAL_SOURCE, UNKNOWN_REMOTE_SOURCE
ACTION_EVENT, ALT_MASK, arg, BACK_SPACE, CAPS_LOCK, clickCount, CTRL_MASK, DELETE, DOWN, END, ENTER, ESCAPE, evt, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, GOT_FOCUS, HOME, INSERT, key, KEY_ACTION, KEY_ACTION_RELEASE, KEY_PRESS, KEY_RELEASE, LEFT, LIST_DESELECT, LIST_SELECT, LOAD_FILE, LOST_FOCUS, META_MASK, modifiers, MOUSE_DOWN, MOUSE_DRAG, MOUSE_ENTER, MOUSE_EXIT, MOUSE_MOVE, MOUSE_UP, NUM_LOCK, PAUSE, PGDN, PGUP, PRINT_SCREEN, RIGHT, SAVE_FILE, SCROLL_ABSOLUTE, SCROLL_BEGIN, SCROLL_END, SCROLL_LINE_DOWN, SCROLL_LINE_UP, SCROLL_LOCK, SCROLL_PAGE_DOWN, SCROLL_PAGE_UP, SHIFT_MASK, TAB, target, UP, when, WINDOW_DEICONIFY, WINDOW_DESTROY, WINDOW_EXPOSE, WINDOW_ICONIFY, WINDOW_MOVED, x, y
Constructor and Description |
---|
DisplayReferenceEvent(Display d,
int id,
DataDisplayLink link)
Constructs a DisplayReferenceEvent object with the specified
source display, type of event, and DataReference connection.
|
Modifier and Type | Method and Description |
---|---|
DisplayEvent |
cloneButDisplay(Display dpy)
Return a new DisplayReferenceEvent which is a copy of this event,
but which uses the specified source display
|
DataDisplayLink |
getDataDisplayLink() |
getDisplay, getDisplayComponent, getId, getInputEvent, getKeyCode, getModifiers, getX, getY, toString
getRemoteId, isRemote
controlDown, metaDown, paramString, shiftDown, translate
public DisplayReferenceEvent(Display d, int id, DataDisplayLink link)
d
- display that sends the eventid
- type of DisplayReferenceEvent that is sentlink
- DataReference linkpublic DisplayEvent cloneButDisplay(Display dpy)
cloneButDisplay
in class DisplayEvent
dpy
- Display to use for the new DisplayReferenceEventpublic DataDisplayLink getDataDisplayLink()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.