com.aspose.html.dom.events

Class MouseEvent.MouseEventInit

  • 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>>
    Direct Known Subclasses:
    WheelEvent.WheelEventInit
    Enclosing class:
    MouseEvent


    public class MouseEvent.MouseEventInit
    extends UIEvent.EventModifierInit

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

    • Constructor Detail

      • MouseEventInit

        public MouseEventInit()
    • Method Detail

      • getScreenX

        public long getScreenX()

        See screenY (substituting "horizontal" for "veritcal").

        Value: The screen x.
      • setScreenX

        public void setScreenX(long value)

        See screenY (substituting "horizontal" for "veritcal").

        Value: The screen x.
      • getScreenY

        public long getScreenY()

        Initializes the screenY attribute of the MouseEvent object to the desired vertical relative position of the mouse pointer on the user’s screen.

        Value: The screen y.
      • setScreenY

        public void setScreenY(long value)

        Initializes the screenY attribute of the MouseEvent object to the desired vertical relative position of the mouse pointer on the user’s screen.

        Value: The screen y.
      • getClientX

        public long getClientX()

        See clientY (substituting "horizontal" for "vertical").

        Value: The client x.
      • setClientX

        public void setClientX(long value)

        See clientY (substituting "horizontal" for "vertical").

        Value: The client x.
      • getClientY

        public long getClientY()

        Initializes the clientY attribute of the MouseEvent object to the desired vertical position of the mouse pointer relative to the client window of the user’s browser.

        Value: The client y.
      • setClientY

        public void setClientY(long value)

        Initializes the clientY attribute of the MouseEvent object to the desired vertical position of the mouse pointer relative to the client window of the user’s browser.

        Value: The client y.
      • getButton

        public short getButton()

        Initializes the button attribute of the MouseEvent object to a number representing the desired state of the button(s) of the mouse.

        Value: The button.
      • setButton

        public void setButton(short value)

        Initializes the button attribute of the MouseEvent object to a number representing the desired state of the button(s) of the mouse.

        Value: The button.
      • getButtons

        public int getButtons()

        Initializes the buttons attribute of the MouseEvent object to a number representing one or more of the button(s) of the mouse that are to be considered active.

        Value: The buttons.
      • setButtons

        public void setButtons(int value)

        Initializes the buttons attribute of the MouseEvent object to a number representing one or more of the button(s) of the mouse that are to be considered active.

        Value: The buttons.
      • getRelatedTarget

        public EventTarget getRelatedTarget()

        The relatedTarget should be initialized to the element whose bounds the mouse pointer just left (in the case of a mouseover or mouseenter event) or the element whose bounds the mouse pointer is entering (in the case of a mouseout or mouseleave or focusout event). For other events, this value need not be assigned (and will default to null).

        Value: The related target.
      • setRelatedTarget

        public void setRelatedTarget(EventTarget value)

        The relatedTarget should be initialized to the element whose bounds the mouse pointer just left (in the case of a mouseover or mouseenter event) or the element whose bounds the mouse pointer is entering (in the case of a mouseout or mouseleave or focusout event). For other events, this value need not be assigned (and will default to null).

        Value: The related target.