|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.DynamicObject
ice.pilots.html4.DOMEvent
ice.pilots.html4.DOMUIEvent
| Field Summary | |
static short |
BUTTON_ALL
|
static short |
BUTTON_LEFT
|
static short |
BUTTON_LEFT_MIDDLE
|
static short |
BUTTON_LEFT_RIGHT
|
static short |
BUTTON_MIDDLE
|
static short |
BUTTON_NONE
|
static short |
BUTTON_RIGHT
|
static short |
BUTTON_RIGHT_MIDDLE
|
| Fields inherited from class ice.pilots.html4.DOMEvent |
ABORT, BLUR, CHANGE, CLICK, CONTEXTMENU, CSSModified, DBLCLICK, defaultActionTarget, doc, DOMAttrModified, DOMNodeInserted, DOMNodeRemoved, DOMSubtreeModified, ERROR, FOCUS, GOTO, HELP, KEYDOWN, KEYPRESS, KEYUP, LOAD, MOUSEDOWN, MOUSEMOVE, MOUSEOUT, MOUSEOVER, MOUSEUP, NUM_EVENTS, RESET, RESIZE, SCROLL, SELECT, SUBMIT, UNLOAD |
| Fields inherited from class ice.storm.DynamicObject |
NOT_FOUND, SETD_IGNORE, SETD_NOT_FOUND, SETD_OK |
| Fields inherited from interface org.w3c.dom.events.Event |
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE |
| Method Summary | |
protected void |
copyUIDataFrom(DOMEvent a_source)
|
Object |
execDynamicMethod(String name,
Object[] args,
DynEnv env)
Perform function-like actions for `name' with the given args. |
boolean |
getAltKey()
Used to indicate whether the 'alt' key was depressed during the firing of the event. |
short |
getButton()
During mouse events caused by the depression or release of a mouse button, button is used to indicate which mouse button
changed state. |
long |
getCharCode()
|
int |
getClientX()
The horizontal coordinate at which the event occurred relative to the DOM implementation's client area. |
int |
getClientY()
The vertical coordinate at which the event occurred relative to the DOM implementation's client area. |
boolean |
getCtrlKey()
Used to indicate whether the 'ctrl' key was depressed during the firing of the event. |
int |
getDetail()
Specifies some detail information about the Event,
depending on the type of event. |
Object |
getDynamicValue(String name,
DynEnv env)
Returns the `key' field or Defs.NOT_FOUND if `name' does not exist. |
long |
getKeyCode()
|
boolean |
getMetaKey()
Used to indicate whether the 'meta' key was depressed during the firing of the event. |
int |
getModifiers()
|
short |
getMouseButtons()
|
ObjectPainter |
getObjectPainter()
|
int |
getPosX()
|
int |
getPosY()
|
Node |
getRelatedNode()
|
EventTarget |
getRelatedTarget()
Used to identify a secondary EventTarget related to a UI
event. |
int |
getScreenX()
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system. |
int |
getScreenY()
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system. |
int |
getScrollX()
|
int |
getScrollY()
|
boolean |
getShiftKey()
Used to indicate whether the 'shift' key was depressed during the firing of the event. |
AbstractView |
getView()
The view attribute identifies the AbstractView
from which the event was generated. |
void |
initMouseEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
boolean ctrlKeyArg,
boolean altKeyArg,
boolean shiftKeyArg,
boolean metaKeyArg,
short buttonArg,
EventTarget relatedTargetArg)
The initMouseEvent method is used to initialize the value
of a MouseEvent created through the
DocumentEvent interface. |
void |
initUIEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
The initUIEvent method is used to initialize the value of
a UIEvent created through the DocumentEvent
interface. |
boolean |
isMousePressPopupTrigger()
|
boolean |
isPopupTrigger()
|
boolean |
isShortcutKey()
|
void |
setAltKey(boolean val)
|
void |
setButton(short value)
|
void |
setCharCode(long cc)
|
void |
setClientCoords(int new_x,
int new_y,
int new_scrollX,
int new_scrollY)
|
void |
setCtrlKey(boolean val)
|
int |
setDynamicValue(String name,
Object value,
DynEnv env)
Set field `name' to `value'. |
void |
setKeyCode(long kc)
|
void |
setMetaKey(boolean val)
|
void |
setModifiers(int modifiers)
|
void |
setMouseButtons(short value)
|
void |
setMousePressPopupTrigger(boolean trigger)
|
void |
setObjectPainter(ObjectPainter op)
|
void |
setPopupTrigger(boolean trigger)
|
void |
setPosX(int val)
|
void |
setPosY(int val)
|
void |
setScreenCoords(int x,
int y)
|
void |
setShiftKey(boolean val)
|
| Methods inherited from class ice.pilots.html4.DOMEvent |
getBubbles, getCancelable, getCurrentNode, getCurrentTarget, getDDocument, getEventPhase, getSystemEvent, getTarget, getTimeStamp, getType, getTypeId, getViewport, initEvent, isDefaultCancelled, isDefaultDone, preventDefault, setDefaultDone, setSystemEvent, stopPropagation, toString |
| Methods inherited from class ice.storm.DynamicObject |
deleteSlot, deleteSlot, getDynamicScopeParent, getEnumeratableIds, getMethodPropertySource, getScriptDataLock, getScriptWrapper, getSlot, getSlot, hasSlot, hasSlot, javaReflectionTarget, readOnlySlots, script_toSource, script_toString, setScriptWrapperIfAbsent, setSlot, setSlot, unlinkAllSlots |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.events.Event |
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation |
| Field Detail |
public static final short BUTTON_NONE
public static final short BUTTON_LEFT
public static final short BUTTON_RIGHT
public static final short BUTTON_LEFT_RIGHT
public static final short BUTTON_MIDDLE
public static final short BUTTON_LEFT_MIDDLE
public static final short BUTTON_RIGHT_MIDDLE
public static final short BUTTON_ALL
| Method Detail |
protected void copyUIDataFrom(DOMEvent a_source)
copyUIDataFrom in class DOMEventpublic AbstractView getView()
UIEventview attribute identifies the AbstractView
from which the event was generated.
getView in interface UIEventpublic int getDetail()
UIEventEvent,
depending on the type of event.
getDetail in interface UIEventpublic int getScreenX()
MouseEvent
getScreenX in interface MouseEventpublic int getScreenY()
MouseEvent
getScreenY in interface MouseEventpublic int getClientX()
MouseEvent
getClientX in interface MouseEventpublic int getClientY()
MouseEvent
getClientY in interface MouseEventpublic long getCharCode()
public long getKeyCode()
public boolean getCtrlKey()
MouseEvent
getCtrlKey in interface MouseEventpublic boolean getShiftKey()
MouseEvent
getShiftKey in interface MouseEventpublic boolean getAltKey()
MouseEvent
getAltKey in interface MouseEventpublic boolean getMetaKey()
MouseEvent
getMetaKey in interface MouseEventpublic int getModifiers()
public boolean isShortcutKey()
public short getButton()
MouseEventbutton is used to indicate which mouse button
changed state. The values for button range from zero to
indicate the left button of the mouse, one to indicate the middle
button if present, and two to indicate the right button. For mice
configured for left handed use in which the button actions are
reversed the values are instead read from right to left.
getButton in interface MouseEventpublic short getMouseButtons()
public Node getRelatedNode()
public EventTarget getRelatedTarget()
MouseEventEventTarget related to a UI
event. Currently this attribute is used with the mouseover event to
indicate the EventTarget which the pointing device
exited and with the mouseout event to indicate the
EventTarget which the pointing device entered.
getRelatedTarget in interface MouseEvent
public void initUIEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
UIEventinitUIEvent method is used to initialize the value of
a UIEvent created through the DocumentEvent
interface. This method may only be called before the
UIEvent has been dispatched via the
dispatchEvent method, though it may be called multiple
times during that phase if necessary. If called multiple times, the
final invocation takes precedence.
initUIEvent in interface UIEvent
public void initMouseEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
boolean ctrlKeyArg,
boolean altKeyArg,
boolean shiftKeyArg,
boolean metaKeyArg,
short buttonArg,
EventTarget relatedTargetArg)
MouseEventinitMouseEvent method is used to initialize the value
of a MouseEvent created through the
DocumentEvent interface. This method may only be called
before the MouseEvent has been dispatched via the
dispatchEvent method, though it may be called multiple
times during that phase if necessary. If called multiple times, the
final invocation takes precedence.
initMouseEvent in interface MouseEvent
public void setClientCoords(int new_x,
int new_y,
int new_scrollX,
int new_scrollY)
public void setScreenCoords(int x,
int y)
public void setKeyCode(long kc)
public void setCharCode(long cc)
public void setAltKey(boolean val)
public void setCtrlKey(boolean val)
public void setShiftKey(boolean val)
public void setMetaKey(boolean val)
public void setModifiers(int modifiers)
public void setButton(short value)
public void setMouseButtons(short value)
public boolean isPopupTrigger()
public boolean isMousePressPopupTrigger()
public int getPosX()
public int getPosY()
public int getScrollX()
public int getScrollY()
public void setPopupTrigger(boolean trigger)
public void setMousePressPopupTrigger(boolean trigger)
public void setPosX(int val)
public void setPosY(int val)
public void setObjectPainter(ObjectPainter op)
public ObjectPainter getObjectPainter()
public Object getDynamicValue(String name,
DynEnv env)
DynamicObject
getDynamicValue in class DOMEvent
public int setDynamicValue(String name,
Object value,
DynEnv env)
DynamicObject
setDynamicValue in class DOMEvent
public Object execDynamicMethod(String name,
Object[] args,
DynEnv env)
DynamicObject
execDynamicMethod in class DOMEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||