java.lang.Object
io.sf.carte.echosvg.dom.events.AbstractEvent
io.sf.carte.echosvg.dom.events.DOMUIEvent
io.sf.carte.echosvg.dom.svg12.SVGOMWheelEvent
- All Implemented Interfaces:
OriginalEvent
,Cloneable
,Event
,UIEvent
SVG 1.2 mouse wheel event.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
The number of clicks the mouse wheel has been moved.Fields inherited from class io.sf.carte.echosvg.dom.events.AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of mouse wheel clicks.void
initWheelEvent
(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int wheelDeltaArg) Initializes this SVGOMWheelEvent object.void
initWheelEventNS
(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int wheelDeltaArg) Initializes this KeyboardEvent object.Methods inherited from class io.sf.carte.echosvg.dom.events.DOMUIEvent
getDetail, getView, initUIEvent, initUIEventNS, split
Methods inherited from class io.sf.carte.echosvg.dom.events.AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Field Details
-
wheelDelta
protected int wheelDeltaThe number of clicks the mouse wheel has been moved.
-
-
Constructor Details
-
SVGOMWheelEvent
public SVGOMWheelEvent()
-
-
Method Details
-
getWheelDelta
public int getWheelDelta()Returns the number of mouse wheel clicks. -
initWheelEvent
public void initWheelEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int wheelDeltaArg) Initializes this SVGOMWheelEvent object.- 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 theEvent
'sAbstractView
.wheelDeltaArg
- Specifices the number of clicks the mouse wheel has been moved.
-
initWheelEventNS
public void initWheelEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int wheelDeltaArg) Initializes this KeyboardEvent object.- Parameters:
namespaceURIArg
- Specifies the event namespace URI.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 theEvent
'sAbstractView
.wheelDeltaArg
- Specifices the number of clicks the mouse wheel has been moved.
-