org.apache.xerces.dom.events
Class UIEventImpl
java.lang.Object
org.apache.xerces.dom.events.EventImpl
org.apache.xerces.dom.events.UIEventImpl
- All Implemented Interfaces:
- Event, UIEvent
- Direct Known Subclasses:
- MouseEventImpl
public class UIEventImpl
- extends EventImpl
- implements UIEvent
An implementation of the DOM Level 2 UIEvent
interface.
- Version:
- $Id: UIEventImpl.java 533574 2007-04-30 00:29:47Z mrglavas $
Method Summary |
int |
getDetail()
Specifies some detail information about the Event ,
depending on the type of event. |
AbstractView |
getView()
The view attribute identifies the AbstractView
from which the event was generated. |
void |
initUIEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
The initUIEvent method is used to initialize the value of
a UIEvent created through the DocumentEvent
interface. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIEventImpl
public UIEventImpl()
getView
public AbstractView getView()
- Description copied from interface:
UIEvent
- The
view
attribute identifies the AbstractView
from which the event was generated.
- Specified by:
getView
in interface UIEvent
getDetail
public int getDetail()
- Description copied from interface:
UIEvent
- Specifies some detail information about the
Event
,
depending on the type of event.
- Specified by:
getDetail
in interface UIEvent
initUIEvent
public void initUIEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
- Description copied from interface:
UIEvent
- The
initUIEvent
method is used to initialize the value of
a UIEvent
created through the DocumentEvent
interface. This method may only be called before the
UIEvent
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.
- Specified by:
initUIEvent
in interface UIEvent
- Parameters:
typeArg
- Specifies the event type.canBubbleArg
- Specifies whether or not the event can bubble.cancelableArg
- Specifies whether or not the event's default
action can be prevented.viewArg
- Specifies the Event
's
AbstractView
.detailArg
- Specifies the Event
's detail.