001: /*
002: * MyGWT Widget Library
003: * Copyright(c) 2007, MyGWT.
004: * licensing@mygwt.net
005: *
006: * http://mygwt.net/license
007: */
008: package net.mygwt.ui.client;
009:
010: import com.google.gwt.user.client.Event;
011:
012: /**
013: * Defines the MyGWT event types.
014: */
015: public class Events {
016:
017: /**
018: * Click event type (value is Event.ONCLICK).
019: */
020: public static final int Click = Event.ONCLICK;
021:
022: /**
023: * DoubleClick event type (value is Event.ONDBLCLICK).
024: */
025: public static final int DoubleClick = Event.ONDBLCLICK;
026:
027: /**
028: * MouseOver event type (value is Event.ONMOUSEOVER).
029: */
030: public static final int MouseOver = Event.ONMOUSEOVER;
031:
032: /**
033: * MouseMove event type (value is Event.ONMOUSEMOVE).
034: */
035: public static final int MouseMove = Event.ONMOUSEMOVE;
036:
037: /**
038: * MouseDown event type (value is Event.ONMOUSEDOWN).
039: */
040: public static final int MouseDown = Event.ONMOUSEDOWN;
041:
042: /**
043: * MouseUp event type (value is Event.ONMOUSEUP).
044: */
045: public static final int MouseUp = Event.ONMOUSEUP;
046:
047: /**
048: * MouseOut event type (value is Event.ONMOUSEOUT).
049: */
050: public static final int MouseOut = Event.ONMOUSEOUT;
051:
052: /**
053: * Scroll event type (value is Event.ONSCROLL).
054: */
055: public static final int Scroll = Event.ONSCROLL;
056:
057: /**
058: * BeforeAdd event type (value is 111).
059: */
060: public static final int BeforeAdd = 111;
061:
062: /**
063: * BeforeRemove event type (value is 131).
064: */
065: public static final int BeforeRemove = 151;
066:
067: /**
068: * Add event type (value is 110).
069: */
070: public static final int Add = 110;
071:
072: /**
073: * Remove event type (value is 150).
074: */
075: public static final int Remove = 150;
076:
077: /**
078: * BeforeExpand event type (value is 220).
079: */
080: public static final int BeforeExpand = 220;
081:
082: /**
083: * Expand event type (value is 210).
084: */
085: public static final int Expand = 210;
086:
087: /**
088: * BeforeCollapse event type (value is 230).
089: */
090: public static final int BeforeCollapse = 230;
091:
092: /**
093: * Collapse event type (value is 240).
094: */
095: public static final int Collapse = 240;
096:
097: /**
098: * KeyPress event type (value is Event.ONKEYPRESS).
099: */
100: public static final int KeyPress = Event.ONKEYPRESS;
101:
102: /**
103: * KeyUp event type (value is Event.ONKEYUP).
104: */
105: public static final int KeyUp = Event.ONKEYUP;
106:
107: /**
108: * KeyDown event type (value is Event.ONKEYDOWN).
109: */
110: public static final int KeyDown = Event.ONKEYDOWN;
111:
112: /**
113: * CheckChange event type (value is 580).
114: */
115: public static final int CheckChange = 580;
116:
117: /**
118: * Resize event type (value is 590).
119: */
120: public static final int Resize = 590;
121:
122: /**
123: * SelectionChange event type (value is 600).
124: */
125: public static final int SelectionChange = 600;
126:
127: /**
128: * Select event type (value is 610).
129: */
130: public static final int Select = 610;
131:
132: /**
133: * Close event type (value is 705).
134: */
135: public static final int BeforeClose = 705;
136:
137: /**
138: * Close event type (value is 710).
139: */
140: public static final int Close = 710;
141:
142: /**
143: * BeforeOpen event type (value is 712).
144: */
145: public static final int BeforeOpen = 712;
146:
147: /**
148: * Open event type (value is 714).
149: */
150: public static final int Open = 714;
151:
152: /**
153: * Enable event type (value is 750).
154: */
155: public static final int Enable = 750;
156:
157: /**
158: * Disable event type (value is 760).
159: */
160: public static final int Disable = 760;
161:
162: /**
163: * Attach event type (value is 800).
164: */
165: public static final int Attach = 800;
166:
167: /**
168: * Detach event type (value is 810).
169: */
170: public static final int Detach = 810;
171:
172: /**
173: * Render event type (value is 500).
174: */
175: public static final int Render = 0;
176:
177: /**
178: * DragStart event type (value is 850).
179: */
180: public static final int DragStart = 850;
181:
182: /**
183: * DragCancel event type (value is 855).
184: */
185: public static final int DragCancel = 855;
186:
187: /**
188: * DragMove event type (value is 858).
189: */
190: public static final int DragMove = 858;
191:
192: /**
193: * DragEnd event type (value is 860).
194: */
195: public static final int DragEnd = 860;
196:
197: /**
198: * EffectStart event type (value is 900).
199: */
200: public static final int EffectStart = 900;
201:
202: /**
203: * EffectComplete event type (value is 910).
204: */
205: public static final int EffectComplete = 910;
206:
207: /**
208: * EffectCancel event type (value is 920).
209: */
210: public static final int EffectCancel = 920;
211:
212: /**
213: * ResizeStart event type (value is 922).
214: */
215: public static final int ResizeStart = 922;
216:
217: /**
218: * ResizeEnd event type (value is 924).
219: */
220: public static final int ResizeEnd = 924;
221:
222: /**
223: * ColumnClick event type (value is 930).
224: */
225: public static final int ColumnClick = 930;
226:
227: /**
228: * SortChange event type (value is 932).
229: */
230: public static final int SortChange = 932;
231:
232: /**
233: * CellClick event type (value is 940).
234: */
235: public static final int CellClick = 940;
236:
237: /**
238: * CellDoubleClick event type (value is 950).
239: */
240: public static final int CellDoubleClick = 950;
241:
242: /**
243: * RowClick event type (value is 960).
244: */
245: public static final int RowClick = 960;
246:
247: /**
248: * RowDoubleClick event type (value is 970).
249: */
250: public static final int RowDoubleClick = 970;
251:
252: /**
253: * Activate event type (value is 980).
254: */
255: public static final int Activate = 30;
256:
257: /**
258: * Deactivate event type (value is 990).
259: */
260: public static final int Deactivate = 32;
261:
262: /**
263: * BeforeShow event type (value is 400).
264: */
265: public static final int BeforeShow = 400;
266:
267: /**
268: * Show event type (value is 410).
269: */
270: public static final int Show = 410;
271:
272: /**
273: * BeforeHide event type (value is 420).
274: */
275: public static final int BeforeHide = 420;
276:
277: /**
278: * Hide event type (value is 430).
279: */
280: public static final int Hide = 430;
281:
282: /**
283: * StateChange event type (value is 440).
284: */
285: public static final int StateChange = 440;
286:
287: /**
288: * ContextMenu event type (value is 450).
289: */
290: public static final int ContextMenu = 450;
291:
292: /**
293: * BeforeDispose event type (value is 300).
294: */
295: public static final int BeforeDispose = 300;
296:
297: /**
298: * Dispose event type (value is 310).
299: */
300: public static final int Dispose = 310;
301:
302: /**
303: * Valid event type (value is 374).
304: */
305: public static final int Valid = 374;
306:
307: /**
308: * Invalid event type (value is 375).
309: */
310: public static final int Invalid = 375;
311:
312: /**
313: * Focus event type (value is 310).
314: */
315: public static final int Focus = 310;
316:
317: /**
318: * Blur event type (value is 360).
319: */
320: public static final int Blur = 360;
321:
322: /**
323: * Change event type (value is 370).
324: */
325: public static final int Change = 370;
326:
327: }
|