public class EventNode extends Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
EventNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
fireEvent(String type,
Event event)
Fires a specified event on this element (IE only).
|
Object |
getOnblur()
Returns the onblur event handler for this element.
|
Object |
getOnclick()
Returns the onclick event handler for this element.
|
Object |
getOncontextmenu()
Returns the oncontextmenu event handler for this element.
|
Object |
getOndblclick()
Returns the ondblclick event handler for this element.
|
Object |
getOnerror()
Returns the onerror event handler for this element.
|
Object |
getOnfocus()
Returns the onfocus event handler for this element.
|
Object |
getOnfocusin()
Returns the onfocusin event handler for this element.
|
Object |
getOnfocusout()
Returns the onfocusout event handler for this element.
|
Object |
getOnkeydown()
Returns the onkeydown event handler for this element.
|
Object |
getOnkeypress()
Returns the onkeypress event handler for this element.
|
Object |
getOnkeyup()
Returns the onkeyup event handler for this element.
|
Object |
getOnmousedown()
Returns the onmousedown event handler for this element.
|
Object |
getOnmousemove()
Returns the onmousemove event handler for this element.
|
Object |
getOnmouseout()
Returns the onmouseout event handler for this element.
|
Object |
getOnmouseover()
Returns the onmouseover event handler for this element.
|
Object |
getOnmouseup()
Returns the onmouseup event handler for this element.
|
Object |
getOnpropertychange()
Returns the onpropertychange event handler for this element.
|
Object |
getOnresize()
Returns the onresize event handler for this element.
|
void |
setOnblur(Object handler)
Sets the onblur event handler for this element.
|
void |
setOnclick(Object handler)
Sets the onclick event handler for this element.
|
void |
setOncontextmenu(Object handler)
Sets the oncontextmenu event handler for this element.
|
void |
setOndblclick(Object handler)
Sets the ondblclick event handler for this element.
|
void |
setOnerror(Object handler)
Sets the onerror event handler for this element.
|
void |
setOnfocus(Object handler)
Sets the onfocus event handler for this element.
|
void |
setOnfocusin(Object handler)
Sets the onfocusin event handler for this element.
|
void |
setOnfocusout(Object handler)
Sets the onfocusout event handler for this element.
|
void |
setOnkeydown(Object handler)
Sets the onkeydown event handler for this element.
|
void |
setOnkeypress(Object handler)
Sets the onkeypress event handler for this element.
|
void |
setOnkeyup(Object handler)
Sets the onkeyup event handler for this element.
|
void |
setOnmousedown(Object handler)
Sets the onmousedown event handler for this element.
|
void |
setOnmousemove(Object handler)
Sets the onmousemove event handler for this element.
|
void |
setOnmouseout(Object handler)
Sets the onmouseout event handler for this element.
|
void |
setOnmouseover(Object handler)
Sets the onmouseover event handler for this element.
|
void |
setOnmouseup(Object handler)
Sets the onmouseup event handler for this element.
|
void |
setOnpropertychange(Object handler)
Sets the onpropertychange event handler for this element.
|
void |
setOnresize(Object handler)
Sets the onresize event handler for this element.
|
appendChild, asJavaScriptException, attachEvent, cloneNode, compareDocumentPosition, contains, detachEvent, getAttributes, getBaseName, getChildNodes, getFirstChild, getJavaScriptNode, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, getXml, hasChildNodes, insertBefore, insertBeforeImpl, isSameNode, normalize, removeChild, replaceChild, setNodeValue, setTextContent
addEventListener, clearEventListenersContainer, dispatchEvent, executeEvent, fireEvent, getEventHandler, getEventHandlerProp, getEventListenersContainer, hasEventHandlers, removeEventListener, setEventHandler, setEventHandlerProp
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setClassName, setDomNode, setDomNode, setHtmlElement, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public void setOnclick(Object handler)
handler
- the onclick event handler for this elementpublic Object getOnclick()
public void setOndblclick(Object handler)
handler
- the ondblclick event handler for this elementpublic Object getOndblclick()
public void setOnblur(Object handler)
handler
- the onblur event handler for this elementpublic Object getOnblur()
public void setOnfocus(Object handler)
handler
- the onfocus event handler for this elementpublic Object getOnfocus()
public void setOnfocusin(Object handler)
handler
- the onfocusin event handler for this elementpublic Object getOnfocusin()
public void setOnfocusout(Object handler)
handler
- the onfocusout event handler for this elementpublic Object getOnfocusout()
public void setOnkeydown(Object handler)
handler
- the onkeydown event handler for this elementpublic Object getOnkeydown()
public void setOnkeypress(Object handler)
handler
- the onkeypress event handler for this elementpublic Object getOnkeypress()
public void setOnkeyup(Object handler)
handler
- the onkeyup event handler for this elementpublic Object getOnkeyup()
public void setOnmousedown(Object handler)
handler
- the onmousedown event handler for this elementpublic Object getOnmousedown()
public void setOnmousemove(Object handler)
handler
- the onmousemove event handler for this elementpublic Object getOnmousemove()
public void setOnmouseout(Object handler)
handler
- the onmouseout event handler for this elementpublic Object getOnmouseout()
public void setOnmouseover(Object handler)
handler
- the onmouseover event handler for this elementpublic Object getOnmouseover()
public void setOnmouseup(Object handler)
handler
- the onmouseup event handler for this elementpublic Object getOnmouseup()
public void setOncontextmenu(Object handler)
handler
- the oncontextmenu event handler for this elementpublic Object getOncontextmenu()
public void setOnresize(Object handler)
handler
- the onresize event handler for this elementpublic Object getOnresize()
public void setOnpropertychange(Object handler)
handler
- the onpropertychange event handler for this elementpublic Object getOnpropertychange()
public void setOnerror(Object handler)
handler
- the onerror event handler for this elementpublic Object getOnerror()
public boolean fireEvent(String type, Event event)
type
- specifies the name of the event to fire.event
- specifies the event object from which to obtain event object properties.Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.