Java Doc for GWT.java in  » Ajax » GWT » com » google » gwt » core » client » 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 » GWT » com.google.gwt.core.client 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.google.gwt.core.client.GWT

GWT
final public class GWT (Code)
Supports core functionality that in some cases requires direct support from the compiler and runtime systems such as runtime type information and deferred binding.

Inner Class :public interface UncaughtExceptionHandler



Method Summary
public static  Tcreate(Class classLiteral)
     Instantiates a class via deferred binding.

The argument to GWT.create(Class)  must be a class literal because the web mode compiler must be able to statically determine the requested type at compile-time.

public static  StringgetHostPageBaseURL()
     Gets the URL prefix of the hosting page, useful for prepending to relative paths of resources which may be relative to the host page.
public static  StringgetModuleBaseURL()
     Gets the URL prefix of the module which should be prepended to URLs that are intended to be module-relative, such as RPC entry points and files in the module's public path.
public static  StringgetModuleName()
     Gets the name of the running module.
public static  StringgetTypeName(Object o)
    
public static  UncaughtExceptionHandlergetUncaughtExceptionHandler()
     Returns the currently active uncaughtExceptionHandler.
public static  booleanisScript()
     Determines whether or not the running program is script or bytecode.
public static  voidlog(String message, Throwable e)
     Logs a message to the development shell logger in hosted mode.
public static  voidsetUncaughtExceptionHandler(UncaughtExceptionHandler handler)
     Sets a custom uncaught exception handler.



Method Detail
create
public static T create(Class classLiteral)(Code)
Instantiates a class via deferred binding.

The argument to GWT.create(Class)  must be a class literal because the web mode compiler must be able to statically determine the requested type at compile-time. This can be tricky because using a Class variable may appear to work correctly in hosted mode.


Parameters:
  classLiteral - a class literal specifying the base class to beinstantiated the new instance, which must be typecast to the requested class.



getHostPageBaseURL
public static String getHostPageBaseURL()(Code)
Gets the URL prefix of the hosting page, useful for prepending to relative paths of resources which may be relative to the host page. Typically, you should use GWT.getModuleBaseURL() unless you have a specific reason to load a resource relative to the host page. if non-empty, the base URL is guaranteed to end with a slash



getModuleBaseURL
public static String getModuleBaseURL()(Code)
Gets the URL prefix of the module which should be prepended to URLs that are intended to be module-relative, such as RPC entry points and files in the module's public path. if non-empty, the base URL is guaranteed to end with a slash



getModuleName
public static String getModuleName()(Code)
Gets the name of the running module.



getTypeName
public static String getTypeName(Object o)(Code)
Object.getClassClass.getName



getUncaughtExceptionHandler
public static UncaughtExceptionHandler getUncaughtExceptionHandler()(Code)
Returns the currently active uncaughtExceptionHandler. "Top level" methods that dispatch events from the browser into user code must call this method on entry to get the active handler. If the active handler is null, the entry point must allow exceptions to escape into the browser. If the handler is non-null, exceptions must be caught and routed to the handler. See the source code for DOM.dispatchEvent() for an example of how to handle this correctly. the currently active handler, or null if no handler is active.



isScript
public static boolean isScript()(Code)
Determines whether or not the running program is script or bytecode.



log
public static void log(String message, Throwable e)(Code)
Logs a message to the development shell logger in hosted mode. Calls are optimized out in web mode.



setUncaughtExceptionHandler
public static void setUncaughtExceptionHandler(UncaughtExceptionHandler handler)(Code)
Sets a custom uncaught exception handler. See GWT.getUncaughtExceptionHandler() for details.
Parameters:
  handler - the handler that should be called when an exception is aboutto escape to the browser, or null to clear thehandler and allow exceptions to escape.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.