org.apache.batik.dom.svg12

Class SVGOMWheelEvent

public class SVGOMWheelEvent extends DOMUIEvent

SVG 1.2 mouse wheel event.
Field Summary
protected intwheelDelta
The number of clicks the mouse wheel has been moved.
Method Summary
intgetWheelDelta()
Returns the number of mouse wheel clicks.
voidinitWheelEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int wheelDeltaArg)
Initializes this SVGOMWheelEvent object.
voidinitWheelEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int wheelDeltaArg)
Initializes this KeyboardEvent object.

Field Detail

wheelDelta

protected int wheelDelta
The number of clicks the mouse wheel has been moved.

Method Detail

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 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, 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 B) 2007 Apache Software Foundation. All Rights Reserved.