Spec-Zone .ru
спецификации, руководства, описания, API
|
Modifier and Type | Field and Description |
---|---|
static EventType<WebEvent> |
ALERT
This event occurs when a script calls the JavaScript
alert
function. |
static EventType<WebEvent> |
ANY
Common supertype for all Web event types.
|
static EventType<WebEvent> |
RESIZED
This event occurs when a script changes location of the JavaScript
window object. |
static EventType<WebEvent> |
STATUS_CHANGED
This event occurs when a script changes status line text.
|
static EventType<WebEvent> |
VISIBILITY_CHANGED
This event occurs when a script changes visibility of the JavaScript
window object. |
consumed, eventType, NULL_SOURCE_TARGET, target
Constructor and Description |
---|
WebEvent(java.lang.Object source,
EventType<WebEvent> type,
T data)
Creates a new event object.
|
Modifier and Type | Method and Description |
---|---|
T |
getData()
Returns data item carried by this event.
|
java.lang.String |
toString()
Returns a string representation of this
WebEvent object. |
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
public static final EventType<WebEvent> RESIZED
window
object.public static final EventType<WebEvent> STATUS_CHANGED
public static final EventType<WebEvent> VISIBILITY_CHANGED
window
object.public T getData()
public java.lang.String toString()
WebEvent
object.toString
in class java.util.EventObject
WebEvent
object.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to