public class UIEvent extends Event
| Modifier and Type | Field and Description |
|---|---|
static int |
SCROLL_PAGE_DOWN
Constant.
|
static short |
SCROLL_PAGE_UP
Constant.
|
ALT_MASK, AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, CONTROL_MASK, KEY_CURRENT_EVENT, META_MASK, NONE, SHIFT_MASK, TYPE_BEFORE_UNLOAD, TYPE_BLUR, TYPE_CHANGE, TYPE_CLOSE, TYPE_DOM_DOCUMENT_LOADED, TYPE_ERROR, TYPE_FOCUS, TYPE_FOCUS_IN, TYPE_FOCUS_OUT, TYPE_HASH_CHANGE, TYPE_INPUT, TYPE_KEY_DOWN, TYPE_KEY_PRESS, TYPE_KEY_UP, TYPE_LOAD, TYPE_MESSAGE, TYPE_OPEN, TYPE_POPSTATE, TYPE_PROPERTY_CHANGE, TYPE_READY_STATE_CHANGE, TYPE_RESET, TYPE_SUBMIT, TYPE_UNLOAD| Constructor and Description |
|---|
UIEvent()
Creates a new UI event instance.
|
UIEvent(DomNode domNode,
String type)
Creates a new UI event instance.
|
UIEvent(EventTarget target,
String type)
Creates a new event instance.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDetail()
Returns some detail information about the event, depending on the event type.
|
Object |
getView()
Returns the view from which the event was generated.
|
void |
initUIEvent(String type,
boolean bubbles,
boolean cancelable,
Object view,
int detail)
Implementation of the DOM Level 3 Event method for initializing the UI event.
|
protected void |
setDetail(long detail)
Sets the detail information for this event.
|
createPropertyChangeEvent, endFire, eventCreated, getCurrentTarget, getEventPhase, getKeyCode, getPropertyName, getReturnValue, getSrcElement, getTarget, getTimeStamp, getType, initEvent, isAborted, isAltKey, isBubbles, isCancelable, isCancelBubble, isCtrlKey, isDefaultPrevented, isImmediatePropagationStopped, isPropagationStopped, isShiftKey, jsConstructor, preventDefault, processLabelAfterBubbling, setAltKey, setBubbles, setCancelable, setCancelBubble, setCtrlKey, setCurrentTarget, setEventPhase, setEventType, setKeyCode, setReturnValue, setShiftKey, setSrcElement, setTarget, setType, startFire, stopImmediatePropagation, stopPropagation, toStringclone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElementdefineFunctionProperties, defineProperty, getClassName, put, setClassName, setParentScopeapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, sizepublic static final int SCROLL_PAGE_DOWN
public static final short SCROLL_PAGE_UP
public UIEvent()
public UIEvent(DomNode domNode, String type)
domNode - the DOM node that triggered the eventtype - the event typepublic UIEvent(EventTarget target, String type)
target - the event targettype - the event typepublic long getDetail()
protected void setDetail(long detail)
detail - the detail information for this eventpublic Object getView()
public void initUIEvent(String type, boolean bubbles, boolean cancelable, Object view, int detail)
type - the event typebubbles - can the event bubblecancelable - can the event be canceledview - the view to use for this eventdetail - the detail to set for the eventCopyright © 2002–2019 Gargoyle Software Inc.. All rights reserved.