com.aspose.html.dom.events

Class UIEvent.EventModifierInit

  • 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:
    KeyboardEvent.KeyboardEventInit, MouseEvent.MouseEventInit
    Enclosing class:
    UIEvent


    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().

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.html.internal.ms.System.Collections.Generic.Dictionary

        com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.Enumerator<TKey,TValue>, com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.KeyCollection<TKey,TValue>, com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.Link, com.aspose.html.internal.ms.System.Collections.Generic.Dictionary.ValueCollection<TKey,TValue>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class com.aspose.html.internal.ms.System.Collections.Generic.Dictionary

        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
    • Constructor Detail

      • EventModifierInit

        public EventModifierInit()
    • Method Detail

      • getCtrlKey

        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.
      • setCtrlKey

        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.
      • getShiftKey

        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.
      • setShiftKey

        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.
      • getAltKey

        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.
      • setAltKey

        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.
      • getMetaKey

        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.
      • setMetaKey

        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.
      • getModifierAltGraph

        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.
      • setModifierAltGraph

        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.
      • getModifierCapsLock

        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.
      • setModifierCapsLock

        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.
      • getModifierFn

        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.
      • setModifierFn

        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.
      • getModifierFnLock

        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.
      • setModifierFnLock

        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.
      • getModifierHyper

        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.
      • setModifierHyper

        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.
      • getModifierNumLock

        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.
      • setModifierNumLock

        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.
      • getModifierScrollLock

        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.
      • setModifierScrollLock

        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.
      • getModifierSuper

        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.
      • setModifierSuper

        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.
      • getModifierSymbol

        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.
      • setModifierSymbol

        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.
      • getModifierSymbolLock

        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.
      • setModifierSymbolLock

        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.