public class UIEvent.EventModifierInit extends UIEvent.UIEventInit
The MouseEvent and KeyboardEvent interfaces share a set of keyboard modifier attributes and support a mechanism for retrieving additional modifier states. The following dictionary enables authors to initialize keyboard modifier attributes of the MouseEvent and KeyboardEvent interfaces, as well as the additional modifier states queried via getModifierState().
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 |
---|
EventModifierInit() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAltKey()
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Alt (alternative) (or Option) key modifier is to be considered active, false otherwise.
|
boolean |
getCtrlKey()
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Control key modifier is to be considered active, false otherwise.
|
boolean |
getMetaKey()
Initializes the metaKey attribute of the MouseEvent or KeyboardEvent objects to true if the Meta key modifier is to be considered active, false otherwise.
|
boolean |
getModifierAltGraph()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter AltGraph must return true.
|
boolean |
getModifierCapsLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter CapsLock must return true.
|
boolean |
getModifierFn()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Fn must return true.
|
boolean |
getModifierFnLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter FnLock mustreturn true.
|
boolean |
getModifierHyper()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Hyper must return true.
|
boolean |
getModifierNumLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter NumLock must return true.
|
boolean |
getModifierScrollLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter ScrollLock must return true.
|
boolean |
getModifierSuper()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Super must return true.
|
boolean |
getModifierSymbol()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Symbol must return true.
|
boolean |
getModifierSymbolLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter SymbolLock must return true.
|
boolean |
getShiftKey()
Initializes the shiftKey attribute of the MouseEvent or KeyboardEvent objects to true if the Shift key modifier is to be considered active, false otherwise.
|
void |
setAltKey(boolean value)
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Alt (alternative) (or Option) key modifier is to be considered active, false otherwise.
|
void |
setCtrlKey(boolean value)
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Control key modifier is to be considered active, false otherwise.
|
void |
setMetaKey(boolean value)
Initializes the metaKey attribute of the MouseEvent or KeyboardEvent objects to true if the Meta key modifier is to be considered active, false otherwise.
|
void |
setModifierAltGraph(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter AltGraph must return true.
|
void |
setModifierCapsLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter CapsLock must return true.
|
void |
setModifierFn(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Fn must return true.
|
void |
setModifierFnLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter FnLock mustreturn true.
|
void |
setModifierHyper(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Hyper must return true.
|
void |
setModifierNumLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter NumLock must return true.
|
void |
setModifierScrollLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter ScrollLock must return true.
|
void |
setModifierSuper(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Super must return true.
|
void |
setModifierSymbol(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Symbol must return true.
|
void |
setModifierSymbolLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter SymbolLock must return true.
|
void |
setShiftKey(boolean value)
Initializes the shiftKey attribute of the MouseEvent or KeyboardEvent objects to true if the Shift key modifier is to be considered active, false otherwise.
|
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 boolean getCtrlKey()
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Control key modifier is to be considered active, false otherwise.
Value:true
if Control; otherwise, false
.public void setCtrlKey(boolean value)
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Control key modifier is to be considered active, false otherwise.
Value:true
if Control; otherwise, false
.public boolean getShiftKey()
Initializes the shiftKey attribute of the MouseEvent or KeyboardEvent objects to true if the Shift key modifier is to be considered active, false otherwise.
Value:true
if Shift; otherwise, false
.public void setShiftKey(boolean value)
Initializes the shiftKey attribute of the MouseEvent or KeyboardEvent objects to true if the Shift key modifier is to be considered active, false otherwise.
Value:true
if Shift; otherwise, false
.public boolean getAltKey()
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Alt (alternative) (or Option) key modifier is to be considered active, false otherwise.
Value:true
if Alt; otherwise, false
.public void setAltKey(boolean value)
Initializes the altKey attribute of the MouseEvent or KeyboardEvent objects to true if the Alt (alternative) (or Option) key modifier is to be considered active, false otherwise.
Value:true
if Alt; otherwise, false
.public boolean getMetaKey()
Initializes the metaKey attribute of the MouseEvent or KeyboardEvent objects to true if the Meta key modifier is to be considered active, false otherwise.
Value:true
if Meta; otherwise, false
.public void setMetaKey(boolean value)
Initializes the metaKey attribute of the MouseEvent or KeyboardEvent objects to true if the Meta key modifier is to be considered active, false otherwise.
Value:true
if Meta; otherwise, false
.public boolean getModifierAltGraph()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter AltGraph must return true.
Value:true
if AltGraph; otherwise, false
.public void setModifierAltGraph(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter AltGraph must return true.
Value:true
if AltGraph; otherwise, false
.public boolean getModifierCapsLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter CapsLock must return true.
Value:true
if CapsLock; otherwise, false
.public void setModifierCapsLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter CapsLock must return true.
Value:true
if CapsLock; otherwise, false
.public boolean getModifierFn()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Fn must return true.
Value:true
if Fn; otherwise, false
.public void setModifierFn(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Fn must return true.
Value:true
if Fn; otherwise, false
.public boolean getModifierFnLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter FnLock mustreturn true.
Value:true
if FnLock; otherwise, false
.public void setModifierFnLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter FnLock mustreturn true.
Value:true
if FnLock; otherwise, false
.public boolean getModifierHyper()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Hyper must return true.
Value:true
if Hyper; otherwise, false
.public void setModifierHyper(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Hyper must return true.
Value:true
if Hyper; otherwise, false
.public boolean getModifierNumLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter NumLock must return true.
Value:true
if [modifier number lock]; otherwise, false
.public void setModifierNumLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter NumLock must return true.
Value:true
if [modifier number lock]; otherwise, false
.public boolean getModifierScrollLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter ScrollLock must return true.
Value:true
if ScrollLock; otherwise, false
.public void setModifierScrollLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter ScrollLock must return true.
Value:true
if ScrollLock; otherwise, false
.public boolean getModifierSuper()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Super must return true.
Value:true
if Super; otherwise, false
.public void setModifierSuper(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Super must return true.
Value:true
if Super; otherwise, false
.public boolean getModifierSymbol()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Symbol must return true.
Value:true
if Symbol ; otherwise, false
.public void setModifierSymbol(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter Symbol must return true.
Value:true
if Symbol ; otherwise, false
.public boolean getModifierSymbolLock()
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter SymbolLock must return true.
Value:true
if SymbolLock; otherwise, false
.public void setModifierSymbolLock(boolean value)
Initializes the event object’s key modifier state such that calls to the getModifierState() or getModifierState() when provided with the parameter SymbolLock must return true.
Value:true
if SymbolLock; otherwise, false
.