Package | Description |
---|---|
com.teamdev.jxbrowser.dom |
Provides the interfaces and classes for the Document Object Model (DOM).
|
com.teamdev.jxbrowser.dom.event |
Contains the classes and interfaces of the DOM events.
|
Modifier and Type | Method and Description |
---|---|
Event |
Document.createEvent(EventType eventType,
EventParams params)
|
MouseEvent |
Document.createMouseEvent(EventType eventType,
MouseEventParams params)
Creates and returns a new
MouseEvent object with the given eventType and
params . |
Modifier and Type | Field and Description |
---|---|
static EventType |
EventType.ABORT |
static EventType |
EventType.BLUR |
static EventType |
EventType.CHANGE |
static EventType |
EventType.CLICK |
static EventType |
EventType.DOUBLE_CLICK |
static EventType |
EventType.ERROR |
static EventType |
EventType.FOCUS |
static EventType |
EventType.KEY_DOWN |
static EventType |
EventType.KEY_PRESS |
static EventType |
EventType.KEY_UP |
static EventType |
EventType.LOAD |
static EventType |
EventType.MOUSE_DOWN |
static EventType |
EventType.MOUSE_MOVE |
static EventType |
EventType.MOUSE_OUT |
static EventType |
EventType.MOUSE_OVER |
static EventType |
EventType.MOUSE_UP |
static EventType |
EventType.RESET |
static EventType |
EventType.RESIZE |
static EventType |
EventType.SCROLL |
static EventType |
EventType.SELECT |
static EventType |
EventType.SUBMIT |
static EventType |
EventType.UNLOAD |
Modifier and Type | Method and Description |
---|---|
static EventType |
EventType.of(java.lang.String eventName)
Returns the
EventType instance for the given eventName . |
EventType |
Event.type()
Returns the event type.
|
Modifier and Type | Method and Description |
---|---|
void |
EventTarget.addEventListener(EventType eventType,
Observer<Event> listener,
boolean useCapture)
Adds the given
listener to the event target. |
java.util.List<Observer<Event>> |
EventTarget.eventListeners(EventType eventType,
boolean useCapture)
Returns the immutable list of event listeners that listen events of the given
eventType in a phase that corresponds the given useCapture . |
void |
EventTarget.removeEventListener(EventType eventType,
Observer<Event> listener,
boolean useCapture)
Removes the given
listener from the event target. |