Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorDom/Events/EventType.cs @ 12762

Last change on this file since 12762 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 4.1 KB
Line 
1using System;
2
3namespace SharpVectors.Dom.Events
4{
5  /// <summary>
6  /// Summary description for MutationEventType.
7  /// </summary>
8  public sealed class EventType
9  {
10    public static readonly EventType DomActivate =
11      new EventType(EventClasses.XmlEvents2001, "DOMActivate");
12    public static readonly EventType DomFocusIn =
13      new EventType(EventClasses.XmlEvents2001, "DOMFocusIn");
14    public static readonly EventType DomFocusOut =
15      new EventType(EventClasses.XmlEvents2001, "DOMFocusOut");
16    public static readonly EventType TextInput =
17      new EventType(EventClasses.XmlEvents2001, "textInput");
18    public static readonly EventType Click =
19      new EventType(EventClasses.XmlEvents2001, "click");
20    public static readonly EventType MouseDown =
21      new EventType(EventClasses.XmlEvents2001, "mousedown");
22    public static readonly EventType MouseUp =
23      new EventType(EventClasses.XmlEvents2001, "mouseup");
24    public static readonly EventType MouseOver =
25      new EventType(EventClasses.XmlEvents2001, "mouseover");
26    public static readonly EventType MouseMove =
27      new EventType(EventClasses.XmlEvents2001, "mousemove");
28    public static readonly EventType MouseOut =
29      new EventType(EventClasses.XmlEvents2001, "mouseout");
30    public static readonly EventType KeyDown =
31      new EventType(EventClasses.XmlEvents2001, "keydown");
32    public static readonly EventType KeyUp =
33      new EventType(EventClasses.XmlEvents2001, "keyup");
34    public static readonly EventType DomSubtreeModified =
35      new EventType(EventClasses.XmlEvents2001, "DOMSubtreeModified");
36    public static readonly EventType DomNodeInserted =
37      new EventType(EventClasses.XmlEvents2001, "DOMNodeInserted");
38    public static readonly EventType DomNodeRemoved =
39      new EventType(EventClasses.XmlEvents2001, "DOMNodeRemoved");
40    public static readonly EventType DomNodeRemovedFromDocument =
41      new EventType(EventClasses.XmlEvents2001, "DOMNodeRemovedFromDocument");
42    public static readonly EventType DomNodeInsertedIntoDocument =
43      new EventType(EventClasses.XmlEvents2001, "DOMNodeInsertedIntoDocument");
44    public static readonly EventType DomAttrModified =
45      new EventType(EventClasses.XmlEvents2001, "DOMAttrModified");
46    public static readonly EventType DomCharacterDataModified =
47      new EventType(EventClasses.XmlEvents2001, "DOMCharacterDataModified");
48    public static readonly EventType DomElementNameChanged =
49      new EventType(EventClasses.XmlEvents2001, "DOMElementNameChanged");
50    public static readonly EventType DomAttributeNameChanged =
51      new EventType(EventClasses.XmlEvents2001, "DOMAttributeNameChanged");
52    public static readonly EventType Load =
53      new EventType(EventClasses.XmlEvents2001, "load");
54    public static readonly EventType Unload =
55      new EventType(EventClasses.XmlEvents2001, "unload");
56    public static readonly EventType Abort =
57      new EventType(EventClasses.XmlEvents2001, "abort");
58    public static readonly EventType Error =
59      new EventType(EventClasses.XmlEvents2001, "error");
60    public static readonly EventType Select =
61      new EventType(EventClasses.XmlEvents2001, "select");
62    public static readonly EventType Change =
63      new EventType(EventClasses.XmlEvents2001, "change");
64    public static readonly EventType Submit =
65      new EventType(EventClasses.XmlEvents2001, "submit");
66    public static readonly EventType Reset =
67      new EventType(EventClasses.XmlEvents2001, "reset");
68    public static readonly EventType Resize =
69      new EventType(EventClasses.XmlEvents2001, "resize");
70    public static readonly EventType Scroll =
71      new EventType(EventClasses.XmlEvents2001, "scroll");
72   
73    #region Private Fields
74   
75    private string namespaceUri;
76    private string eventType;
77   
78    #endregion
79   
80    #region Constructors
81   
82    private EventType(string namespaceUri, string eventType)
83    {
84      this.namespaceUri = namespaceUri;
85      this.eventType    = eventType;
86    }
87   
88    #endregion
89   
90    #region Public Properties
91   
92    public string Name
93    {
94      get
95      {
96        return eventType;
97      }
98    }
99   
100    public string NamespaceUri
101    {
102      get
103      {
104        return namespaceUri;
105      }
106    }
107   
108    #endregion
109  }
110}
Note: See TracBrowser for help on using the repository browser.