fbench.dom.events
Class ElementSelectionEvent
java.lang.Object
org.apache.xerces.dom.events.EventImpl
fbench.dom.events.ElementSelectionEvent
- All Implemented Interfaces:
- org.w3c.dom.events.Event
public class ElementSelectionEvent
- extends org.apache.xerces.dom.events.EventImpl
A cancelable, bubbling DOM Level 2 Event representing the selection of an
Element from a UI.
- Version:
- 20051110/JHC
- Author:
- JHC
Field Summary |
static int |
ACTIVATE
The detail code for activation, e.g., mouse click. |
static int |
HYPERACTIVATE
The detail code for hyperactivation, e.g., double click. |
Fields inherited from class org.apache.xerces.dom.events.EventImpl |
bubbles, cancelable, currentTarget, eventPhase, initialized, preventDefault, stopPropagation, target, type |
Fields inherited from interface org.w3c.dom.events.Event |
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE |
Methods inherited from class org.apache.xerces.dom.events.EventImpl |
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTIVATE
public static final int ACTIVATE
- The detail code for activation, e.g., mouse click.
- See Also:
- Constant Field Values
HYPERACTIVATE
public static final int HYPERACTIVATE
- The detail code for hyperactivation, e.g., double click.
- See Also:
- Constant Field Values
ElementSelectionEvent
public ElementSelectionEvent()
getDetail
public int getDetail()
getSelectedElement
public org.w3c.dom.Element getSelectedElement()
getSource
public java.lang.Object getSource()
initSelectionEvent
public void initSelectionEvent(org.w3c.dom.Element selectedElementArg,
java.lang.Object sourceArg,
int detailArg)
- Initialize the selection event.
- Parameters:
selectedElementArg
- The selected DOM Element.sourceArg
- The source of the selection (typically a Component).detailArg
- The selection type (ACTIVATE or HYPERACTIVATE).