com.aspose.html.dom.events

Class WheelEvent.WheelEventInit

  • All Implemented Interfaces:
    com.aspose.html.internal.ms.System.Collections.Generic.IGenericCollection<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.html.internal.ms.System.Collections.Generic.IGenericDictionary<String,Object>, com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.html.internal.ms.System.Collections.IEnumerable<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>, Iterable<com.aspose.html.internal.ms.System.Collections.Generic.KeyValuePair<String,Object>>
    Enclosing class:
    WheelEvent


    public class WheelEvent.WheelEventInit
    extends MouseEvent.MouseEventInit

    Represents a dictionary that is having optional arguments for setting the details information about the event.

    • Constructor Detail

      • WheelEventInit

        public WheelEventInit()
    • Method Detail

      • getDeltaX

        @DOMNameAttribute(name="deltaX")
        public double getDeltaX()

        See deltaX attribute.

        Value: The deltaX attribute.
      • setDeltaX

        @DOMNameAttribute(name="deltaX")
        public void setDeltaX(double value)

        See deltaX attribute.

        Value: The deltaX attribute.
      • getDeltaY

        @DOMNameAttribute(name="deltaY")
        public double getDeltaY()

        See deltaY attribute.

        Value: The deltaY attribute.
      • setDeltaY

        @DOMNameAttribute(name="deltaY")
        public void setDeltaY(double value)

        See deltaY attribute.

        Value: The deltaY attribute.
      • getDeltaZ

        @DOMNameAttribute(name="deltaZ")
        public double getDeltaZ()

        See deltaZ attribute.

        Value: The deltaZ attribute.
      • setDeltaZ

        @DOMNameAttribute(name="deltaZ")
        public void setDeltaZ(double value)

        See deltaZ attribute.

        Value: The deltaZ attribute.
      • getDeltaMode

        @DOMNameAttribute(name="deltaMode")
        public long getDeltaMode()

        Initializes the deltaMode attribute on the WheelEvent object to the enumerated values 0, 1, or 2, which represent the amount of pixels scrolled (DOM_DELTA_PIXEL), lines scrolled (DOM_DELTA_LINE), or pages scrolled (DOM_DELTA_PAGE) if the rotation of the wheel would have resulted in scrolling.

        Value: The delta mode.
      • setDeltaMode

        @DOMNameAttribute(name="deltaMode")
        public void setDeltaMode(long value)

        Initializes the deltaMode attribute on the WheelEvent object to the enumerated values 0, 1, or 2, which represent the amount of pixels scrolled (DOM_DELTA_PIXEL), lines scrolled (DOM_DELTA_LINE), or pages scrolled (DOM_DELTA_PAGE) if the rotation of the wheel would have resulted in scrolling.

        Value: The delta mode.