- All Superinterfaces:
Event
- All Known Implementing Classes:
DOMTimeEvent
Provides specific contextual information associated with Time events.
-
Field Summary
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
Method Summary
Modifier and TypeMethodDescriptionint
Get some detail information about theEvent
, depending on the type of event.getView()
Get theAbstractView
from which this event was initialized.void
initTimeEvent
(String typeArg, AbstractView viewArg, int detailArg) Initialize this event.Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Method Details
-
getView
AbstractView getView()Get theAbstractView
from which this event was initialized. -
getDetail
int getDetail()Get some detail information about theEvent
, depending on the type of event.- Returns:
- a detail information about this event.
-
initTimeEvent
Initialize this event.This method may only be called before this event has been dispatched via the
dispatchEvent
method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.- Parameters:
typeArg
- the event type.viewArg
- the event AbstractView.detailArg
- the event's detail.
-