Interface EventTypes
public interface EventTypes
Event type constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Called when a node is appended onto another node.static final String
static final String
Called when an element stops being active after being clicked.static final String
Called when a text node's content is changed.static final String
Called when a document is about to be closed.static final String
Called when the DOM has been fully loaded and is about to be spawned.static final String
Called when the DOM has been spawned after being loadedstatic final String
Called when anInputElement
's value is changed, either by a player or by invoking theInputElement.setValue(String)
method.static final String
Called when an attribute is modified.static final String
Called when an option is modified.static final String
Called when a cursor enter an element's bounds.static final String
Called when a cursor leaves an element's bounds.static final String
Called when the mouse is moved inside of an element.static final String
Called when the mouse scrolls up or down.static final String
Called when a node is removed from another node Details Bubblesfalse
Cancellablefalse
TypeMutationEvent
Tags Allstatic final String
Called when the current document view is moved, or it's location changes.
-
Field Details
-
MOUSE_ENTER
Called when a cursor enter an element's bounds.Details Bubbles true
Cancellable false
Type MouseEvent
Tags All - See Also:
-
MOUSE_LEAVE
Called when a cursor leaves an element's bounds.Details Bubbles true
Cancellable false
Type MouseEvent
Tags All - See Also:
-
MOUSE_MOVE
Called when the mouse is moved inside of an element.This event will only be called if the mouse movement happens inside of an element, if the mouse moves in or out of an element, then
MOUSE_LEAVE
orMOUSE_ENTER
will be called instead.Details Bubbles false
Cancellable false
Type MouseEvent
Tags All - See Also:
-
MOUSE_SCROLL
Called when the mouse scrolls up or down.Details Bubbles false
Cancellable false
Type MouseEvent
Tags All - See Also:
-
CLICK
Called when the mouse is clickedDetails Bubbles false
Cancellable false
Type MouseEvent
Tags All - See Also:
-
CLICK_EXPIRE
Called when an element stops being active after being clicked.Length of time between clicking and the active state expiring is determined by
Document.ACTIVE_TICKS
Details Bubbles false
Cancellable false
Type MouseEvent
Tags All - See Also:
-
APPEND_CHILD
Called when a node is appended onto another node.Details Bubbles false
Cancellable false
Type MutationEvent
Tags All - See Also:
-
REMOVE_CHILD
Called when a node is removed from another nodeDetails Bubbles false
Cancellable false
Type MutationEvent
Tags All - See Also:
-
MODIFY_ATTR
Called when an attribute is modified.Details Bubbles false
Cancellable false
Type AttributeMutateEvent
Tags All - See Also:
-
MODIFY_OPTION
Called when an option is modified.Details Bubbles false
Cancellable false
Type AttributeMutateEvent
Tags All - See Also:
-
DOM_LOADED
-
DOM_SPAWNED
-
DOM_CLOSING
-
INPUT
Called when anInputElement
's value is changed, either by a player or by invoking theInputElement.setValue(String)
method.Details Bubbles false
Cancellable true
Type Event
Tags None, only triggered on the Document
itself- See Also:
-
CONTENT_CHANGED
-
VIEW_MOVED
Called when the current document view is moved, or it's location changes. Only called onDocument.getDocumentElement()
instances.Details Bubbles false
Cancellable false
Type Event
Tags Document
- See Also:
-