gnu.xml.dom
Class DomEvent.DomUIEvent
java.lang.Object
|
+--gnu.xml.dom.DomEvent
|
+--gnu.xml.dom.DomEvent.DomUIEvent
- All Implemented Interfaces:
- org.w3c.dom.events.Event, org.w3c.dom.events.UIEvent
- Enclosing class:
- DomEvent
- public static class DomEvent.DomUIEvent
- extends DomEvent
- implements org.w3c.dom.events.UIEvent
"UIEvent" implementation.
Fields inherited from interface org.w3c.dom.events.Event |
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE |
Constructor Summary |
DomEvent.DomUIEvent(java.lang.String type)
Constructs an uninitialized User Interface (UI) event |
Method Summary |
int |
getDetail()
Specifies some detail information about the Event ,
depending on the type of event. |
org.w3c.dom.views.AbstractView |
getView()
The view attribute identifies the AbstractView
from which the event was generated. |
void |
initUIEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
org.w3c.dom.views.AbstractView viewArg,
int detailArg)
Initializes a UI event |
Methods inherited from class gnu.xml.dom.DomEvent |
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.events.Event |
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation |
DomEvent.DomUIEvent
public DomEvent.DomUIEvent(java.lang.String type)
- Constructs an uninitialized User Interface (UI) event
getView
public final org.w3c.dom.views.AbstractView getView()
- Description copied from interface:
org.w3c.dom.events.UIEvent
- The
view
attribute identifies the AbstractView
from which the event was generated.
- Specified by:
getView
in interface org.w3c.dom.events.UIEvent
getDetail
public final int getDetail()
- Description copied from interface:
org.w3c.dom.events.UIEvent
- Specifies some detail information about the
Event
,
depending on the type of event.
- Specified by:
getDetail
in interface org.w3c.dom.events.UIEvent
initUIEvent
public final void initUIEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
org.w3c.dom.views.AbstractView viewArg,
int detailArg)
- Initializes a UI event
- Specified by:
initUIEvent
in interface org.w3c.dom.events.UIEvent
- Following copied from interface:
org.w3c.dom.events.UIEvent
- Parameters:
typeArgSpecifies
- the event type.canBubbleArgSpecifies
- whether or not the event can bubble.cancelableArgSpecifies
- whether or not the event's default
action can be prevented.viewArgSpecifies
- the Event
's
AbstractView
.detailArgSpecifies
- the Event
's detail.