org.apache.batik.dom.svg12
Class SVGOMWheelEvent
java.lang.Object
org.apache.batik.dom.events.AbstractEvent
org.apache.batik.dom.events.DOMUIEvent
org.apache.batik.dom.svg12.SVGOMWheelEvent
- All Implemented Interfaces:
- Cloneable, OriginalEvent, Event, UIEvent
public class SVGOMWheelEvent
- extends DOMUIEvent
SVG 1.2 mouse wheel event.
- Version:
- $Id: SVGOMWheelEvent.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Cameron McCormack
|
Field Summary |
protected int |
wheelDelta
The number of clicks the mouse wheel has been moved. |
| Fields inherited from class org.apache.batik.dom.events.AbstractEvent |
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type |
| Methods inherited from class org.apache.batik.dom.events.AbstractEvent |
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagation |
wheelDelta
protected int wheelDelta
- The number of clicks the mouse wheel has been moved.
SVGOMWheelEvent
public SVGOMWheelEvent()
getWheelDelta
public int getWheelDelta()
- Returns the number of mouse wheel clicks.
initWheelEvent
public void initWheelEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
org.w3c.dom.views.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 the Event's
AbstractView.wheelDeltaArg - Specifices the number of clicks the mouse wheel has
been moved.
initWheelEventNS
public void initWheelEventNS(String namespaceURIArg,
String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
org.w3c.dom.views.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 the Event's
AbstractView.wheelDeltaArg - Specifices the number of clicks the mouse wheel has
been moved.
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.