コード例 #1
0
ファイル: KeyboardEvent.cs プロジェクト: zellus/SharpVectors
 public KeyboardEvent(string namespaceUri, string eventType, bool bubbles, bool cancelable,
                      IAbstractView view, string keyIdentifier, KeyLocationCode keyLocation, bool ctrlKey,
                      bool shiftKey, bool altKey, bool metaKey, bool altGraphKey)
 {
     InitKeyboardEventNs(namespaceUri, eventType, bubbles, cancelable, view,
                         keyIdentifier, keyLocation, ctrlKey, shiftKey, altKey, metaKey, altGraphKey);
 }
コード例 #2
0
ファイル: KeyboardEvent.cs プロジェクト: zellus/SharpVectors
        public void InitKeyboardEventNs(string namespaceUri, string eventType, bool bubbles,
                                        bool cancelable, IAbstractView view, string keyIdentifier, KeyLocationCode keyLocation,
                                        bool ctrlKey, bool shiftKey, bool altKey, bool metaKey, bool altGraphKey)
        {
            InitUiEventNs(namespaceUri, eventType, bubbles, cancelable, view, 0);

            _keyIdentifier = keyIdentifier;
            _keyLocation   = keyLocation;
            _ctrlKey       = ctrlKey;
            _shiftKey      = shiftKey;
            _altKey        = altKey;
            _metaKey       = metaKey;
            _altGraphKey   = altGraphKey;
        }
コード例 #3
0
 public KeyboardEvent(
     string eventType,
     bool bubbles,
     bool cancelable,
     IAbstractView view,
     string keyIdentifier,
     KeyLocationCode keyLocation,
     bool ctrlKey,
     bool shiftKey,
     bool altKey,
     bool metaKey,
     bool altGraphKey)
 {
     InitKeyboardEvent(
         eventType, bubbles, cancelable, view,
         keyIdentifier, keyLocation,
         ctrlKey, shiftKey, altKey, metaKey, altGraphKey);
 }
コード例 #4
0
ファイル: KeyboardEvent.cs プロジェクト: nagyist/savagesvg
        public void InitKeyboardEvent(
            string eventType,
            bool bubbles,
            bool cancelable,
            IAbstractView view,
            string keyIdentifier,
            KeyLocationCode keyLocation,
            bool ctrlKey,
            bool shiftKey,
            bool altKey,
            bool metaKey,
            bool altGraphKey)
        {
            InitUiEvent(eventType, bubbles, cancelable, view, 0);

            this.keyIdentifier = keyIdentifier;
            this.keyLocation   = keyLocation;
            this.ctrlKey       = ctrlKey;
            this.shiftKey      = shiftKey;
            this.altKey        = altKey;
            this.metaKey       = metaKey;
            this.altGraphKey   = altGraphKey;
        }
コード例 #5
0
        public void InitKeyboardEventNs(
            string namespaceUri,
            string eventType,
            bool bubbles,
            bool cancelable,
            IAbstractView view,
            string keyIdentifier,
            KeyLocationCode keyLocation,
            bool ctrlKey,
            bool shiftKey,
            bool altKey,
            bool metaKey,
            bool altGraphKey)
        {
            InitUiEventNs(namespaceUri, eventType, bubbles, cancelable, view, 0);

            this.keyIdentifier = keyIdentifier;
            this.keyLocation = keyLocation;
            this.ctrlKey = ctrlKey;
            this.shiftKey = shiftKey;
            this.altKey = altKey;
            this.metaKey = metaKey;
            this.altGraphKey = altGraphKey;
        }