public class MouseEvent.MouseEventInit extends UIEvent.EventModifierInit
Represents a dictionary that is having optional arguments for setting the details information about the event.
com.aspose.ms.System.Collections.Generic.Dictionary.Enumerator<TKey,TValue>, com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue>, com.aspose.ms.System.Collections.Generic.Dictionary.Link, com.aspose.ms.System.Collections.Generic.Dictionary.ValueCollection<TKey,TValue>
Constructor and Description |
---|
MouseEventInit() |
Modifier and Type | Method and Description |
---|---|
short |
getButton()
Initializes the button attribute of the MouseEvent object to a number representing the desired state of the button(s) of the mouse.
|
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.
|
long |
getClientX()
See clientY (substituting "horizontal" for "vertical").
|
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.
|
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).
|
long |
getScreenX()
See screenY (substituting "horizontal" for "veritcal").
|
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.
|
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.
|
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.
|
void |
setClientX(long value)
See clientY (substituting "horizontal" for "vertical").
|
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.
|
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).
|
void |
setScreenX(long value)
See screenY (substituting "horizontal" for "veritcal").
|
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.
|
getAltKey, getCtrlKey, getMetaKey, getModifierAltGraph, getModifierCapsLock, getModifierFn, getModifierFnLock, getModifierHyper, getModifierNumLock, getModifierScrollLock, getModifierSuper, getModifierSymbol, getModifierSymbolLock, getShiftKey, setAltKey, setCtrlKey, setMetaKey, setModifierAltGraph, setModifierCapsLock, setModifierFn, setModifierFnLock, setModifierHyper, setModifierNumLock, setModifierScrollLock, setModifierSuper, setModifierSymbol, setModifierSymbolLock, setShiftKey
getDetail, getView, setDetail, setView
getBubbles, getCancelable, isTrusted, setBubbles, setCancelable, setTrusted
addItem, addItem, clear, containsItem, containsKey, containsValue, copyTo, copyToTArray, get_Item, getComparer, getDictionaryEntryEnumerator, getKeys, getSyncRoot, getValues, isFixedSize, isReadOnly, isSynchronized, iterator, removeItem, removeItemByKey, set_Item, size, tryGetValue
public long getScreenX()
See screenY (substituting "horizontal" for "veritcal").
Value: The screen x.public void setScreenX(long value)
See screenY (substituting "horizontal" for "veritcal").
Value: The screen x.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.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.public long getClientX()
See clientY (substituting "horizontal" for "vertical").
Value: The client x.public void setClientX(long value)
See clientY (substituting "horizontal" for "vertical").
Value: The client x.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.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.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.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.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.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.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.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.