Source Code Cross Referenced for KeyNavConfig.java in  » Ajax » gwtext-2.01 » com » gwtext » client » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » gwtext 2.01 » com.gwtext.client.util 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * GWT-Ext Widget Library
003:         * Copyright(c) 2007-2008, GWT-Ext.
004:         * licensing@gwt-ext.com
005:         * 
006:         * http://www.gwt-ext.com/license
007:         */
008:        package com.gwtext.client.util;
009:
010:        import com.gwtext.client.core.BaseConfig;
011:        import com.gwtext.client.core.EventCallback;
012:
013:        /**
014:         * KeyNav configuration class.
015:         */
016:        public class KeyNavConfig extends BaseConfig {
017:
018:            /**
019:             * Register handler for the Enter key.
020:             *
021:             * @param cb the key handler
022:             */
023:            public native void onEnter(EventCallback cb) /*-{
024:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
025:                   config['enter'] = function(e) {
026:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
027:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
028:                   };
029:               }-*/;
030:
031:            /**
032:             * Register handler for the Left arrow key.
033:             *
034:             * @param cb the key handler
035:             */
036:            public native void onLeft(EventCallback cb) /*-{
037:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
038:                   config['left'] = function(e) {
039:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
040:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
041:                   };
042:               }-*/;
043:
044:            /**
045:             * Register handler for the Right arrow key.
046:             *
047:             * @param cb the key handler
048:             */
049:            public native void onRight(EventCallback cb) /*-{
050:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
051:                   config['right'] = function(e) {
052:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
053:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
054:                   };
055:               }-*/;
056:
057:            /**
058:             * Register handler for the Up arrow key.
059:             *
060:             * @param cb the key handler
061:             */
062:            public native void onUp(EventCallback cb) /*-{
063:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
064:                   config['up'] = function(e) {
065:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
066:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
067:                   };
068:               }-*/;
069:
070:            /**
071:             * Register handler for the Down arrow key.
072:             *
073:             * @param cb the key handler
074:             */
075:            public native void onDown(EventCallback cb) /*-{
076:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
077:                   config['down'] = function(e) {
078:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
079:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
080:                   };
081:               }-*/;
082:
083:            /**
084:             * Register handler for the Tab key.
085:             *
086:             * @param cb the key handler
087:             */
088:            public native void onTab(EventCallback cb) /*-{
089:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
090:                   config['tab'] = function(e) {
091:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
092:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
093:                   };
094:               }-*/;
095:
096:            /**
097:             * Register handler for the Esc key.
098:             *
099:             * @param cb the key handler
100:             */
101:            public native void onEsc(EventCallback cb) /*-{
102:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
103:                   config['esc'] = function(e) {
104:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
105:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
106:                   };
107:               }-*/;
108:
109:            /**
110:             * Register handler for the PageUp key.
111:             *
112:             * @param cb the key handler
113:             */
114:            public native void onPageUp(EventCallback cb) /*-{
115:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
116:                   config['pageUp'] = function(e) {
117:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
118:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
119:                   };
120:               }-*/;
121:
122:            /**
123:             * Register handler for the PageDown key.
124:             *
125:             * @param cb the key handler
126:             */
127:            public native void onPageDown(EventCallback cb) /*-{
128:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
129:                   config['pageDown'] = function(e) {
130:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
131:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
132:                   };
133:               }-*/;
134:
135:            /**
136:             * Register handler for the Del key.
137:             *
138:             * @param cb the key handler
139:             */
140:            public native void onDel(EventCallback cb) /*-{
141:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
142:                   config['del'] = function(e) {
143:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
144:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
145:                   };
146:               }-*/;
147:
148:            /**
149:             * Register handler for the Home key.
150:             *
151:             * @param cb the key handler
152:             */
153:            public native void onHome(EventCallback cb) /*-{
154:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
155:                   config['home'] = function(e) {
156:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
157:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
158:                   };
159:               }-*/;
160:
161:            /**
162:             * Register handler for the End key.
163:             *
164:             * @param cb the key handler
165:             */
166:            public native void onEnd(EventCallback cb) /*-{
167:                   var config = this.@com.gwtext.client.core.JsObject::getJsObj()();
168:                   config['end'] = function(e) {
169:                       var eJ = @com.gwtext.client.core.EventObject::instance(Lcom/google/gwt/core/client/JavaScriptObject;)(e);
170:                       cb.@com.gwtext.client.core.EventCallback::execute(Lcom/gwtext/client/core/EventObject;)(eJ);
171:                   };
172:               }-*/;
173:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.