|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Event visad.VisADEvent visad.DisplayEvent visad.DisplayMapEvent
public class DisplayMapEvent
DisplayMapEvent is the VisAD class for Events from Display ScalarMap and ConstantMap objects. They are sourced by Display objects and received by DisplayListener objects.
Field Summary |
---|
Fields inherited from class visad.VisADEvent |
---|
LOCAL_SOURCE, UNKNOWN_REMOTE_SOURCE |
Fields inherited from class java.awt.Event |
---|
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 Summary | |
---|---|
DisplayMapEvent(Display d,
int id,
ScalarMap m)
Constructs a DisplayMapEvent object with the specified source display, type of event, and ScalarMap. |
|
DisplayMapEvent(Display d,
int id,
ScalarMap m,
int remoteId)
Constructs a DisplayMapEvent object with the specified source display, type of event, and ScalarMap. |
Method Summary | |
---|---|
DisplayEvent |
cloneButDisplay(Display dpy)
Return a new DisplayMapEvent which is a copy of this event, but which uses the specified source display |
ScalarMap |
getMap()
get the ScalarMap referenced by this DisplayMapEvent |
Methods inherited from class visad.DisplayEvent |
---|
getDisplay, getDisplayComponent, getId, getInputEvent, getKeyCode, getModifiers, getX, getY, toString |
Methods inherited from class visad.VisADEvent |
---|
getRemoteId, isRemote |
Methods inherited from class java.awt.Event |
---|
controlDown, metaDown, paramString, shiftDown, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DisplayMapEvent(Display d, int id, ScalarMap m)
d
- display that sends the eventid
- type of DisplayMapEvent that is sentm
- ScalarMap referenced by this eventpublic DisplayMapEvent(Display d, int id, ScalarMap m, int remoteId)
d
- display that sends the eventid
- type of DisplayMapEvent that is sentm
- ScalarMap referenced by this eventremoteId
- ID of remote sourceMethod Detail |
---|
public DisplayEvent cloneButDisplay(Display dpy)
cloneButDisplay
in class DisplayEvent
dpy
- Display to use for the new DisplayMapEvent
public ScalarMap getMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |