Package com.google.gwt.user.client
Class DocumentModeAsserter
java.lang.Object
com.google.gwt.user.client.DocumentModeAsserter
- All Implemented Interfaces:
EntryPoint
Helper class, which, during startup, asserts that the browser's current
rendering mode is one of the values allowed by the
"document.compatMode".
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface to provide "document.compatMode" configuration property value.static enum
Determine the severity of the runtime $doc.compatMode check: -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
GWT module configuration property, which enumerates one or more valid browser rendering modes, to be compared with value of $doc.compatMode at runtime.static final String
GWT module configuration property, which determines the severity of the runtime $doc.compatMode check. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The entry point method, called automatically by loading a module that declares an implementing class as an entry point.
-
Field Details
-
PROPERTY_DOCUMENT_COMPATMODE
GWT module configuration property, which enumerates one or more valid browser rendering modes, to be compared with value of $doc.compatMode at runtime.- See Also:
-
PROPERTY_DOCUMENT_COMPATMODE_SEVERITY
GWT module configuration property, which determines the severity of the runtime $doc.compatMode check. Valid values are specified byDocumentModeAsserter.Severity
.- See Also:
-
-
Constructor Details
-
DocumentModeAsserter
public DocumentModeAsserter()
-
-
Method Details
-
onModuleLoad
public void onModuleLoad()Description copied from interface:EntryPoint
The entry point method, called automatically by loading a module that declares an implementing class as an entry point.- Specified by:
onModuleLoad
in interfaceEntryPoint
-