|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.GXT
public class GXT
GXT core utilities and functions.
Field Summary | |
---|---|
static java.lang.String |
BLANK_IMAGE_URL
URL to a 1x1 transparent gif image used by GXT to create inline icons with CSS background images. |
static XImages |
IMAGES
GXT images. |
static boolean |
isAir
true if is air. |
static boolean |
isBorderBox
true if is borderbox. |
static boolean |
isChrome
true if the browser is chrome. |
static boolean |
isGecko
true if the browser is gecko. |
static boolean |
isGecko2
true if the browser is gecko2. |
static boolean |
isGecko3
true if the browser is gecko3. |
static boolean |
isGecko35
true if the browser is gecko3.5. |
static boolean |
isHighContrastMode
True if the OS high contrast mode is enabled. |
static boolean |
isIE
true if the browser is ie. |
static boolean |
isIE6
true if the browser is ie6. |
static boolean |
isIE7
true if the browser is ie7. |
static boolean |
isIE8
true if the browser is ie8. |
static boolean |
isIE9
true if the browser is ie8. |
static boolean |
isLinux
true if linux os. |
static boolean |
isMac
true if mac os. |
static boolean |
isOpera
true if the browser is opera. |
static boolean |
isSafari
true if the browser is safari. |
static boolean |
isSafari2
true if the browser is safari2. |
static boolean |
isSafari3
true if the browser is safari3. |
static boolean |
isSafari4
true if the browser is safari4. |
static boolean |
isSecure
true if using https. |
static boolean |
isStrict
true if the browser is in strict mode. |
static boolean |
isWebKit
true if the browser uses the webkit engine. |
static boolean |
isWindows
true if windows os. |
static XMessages |
MESSAGES
GXT messages. |
static java.lang.String |
RESOURCES_URL
Path to GXT resources (defaults to 'gxt'). |
static java.lang.String |
SSL_SECURE_URL
URL to a blank file used by GXT when in secure mode for iframe src to prevent the IE insecure content. |
static boolean |
useShims
true if the browser uses shims. |
Constructor Summary | |
---|---|
GXT()
|
Method Summary | |
---|---|
static java.lang.String |
getAutoIdPrefix()
Returns the auto id prefix. |
static java.lang.String |
getThemeId()
Returns the current theme id. |
static java.lang.String |
getUserAgent()
Returns the browser's user agent. |
static Version |
getVersion()
Returns the version information. |
static void |
hideLoadingPanel(java.lang.String id)
Hides the loading panel. |
static void |
init()
Initializes GXT. |
static boolean |
isAriaEnabled()
Returns the ARIA enabled state. |
static boolean |
isFocusManagerEnabled()
Returns the focus managed enabled state. |
static void |
setAriaEnabled(boolean enable)
True to enable ARIA functionality. |
static void |
setAutoIdPrefix(java.lang.String autoIdPrefix)
Sets the auto id prefix which is prepended to the auto id counter when generating auto ids (defaults to 'x-auto'). |
static void |
setDefaultTheme(Theme theme,
boolean force)
Sets the default theme which will be used if the user does not have a theme selected with the state provider. |
static void |
setFocusManagerEnabled(boolean enable)
True to enable the focus manager. |
static void |
switchTheme(Theme theme)
Changes the theme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static XImages IMAGES
public static XMessages MESSAGES
public static boolean isWebKit
true
if the browser uses the webkit engine.
public static boolean isSafari
true
if the browser is safari.
public static boolean isSafari2
true
if the browser is safari2.
public static boolean isSafari3
true
if the browser is safari3.
public static boolean isSafari4
true
if the browser is safari4.
public static boolean isChrome
true
if the browser is chrome.
public static boolean isOpera
true
if the browser is opera.
public static boolean isIE
true
if the browser is ie.
public static boolean isIE6
true
if the browser is ie6.
public static boolean isIE7
true
if the browser is ie7.
public static boolean isIE8
true
if the browser is ie8.
public static boolean isIE9
true
if the browser is ie8.
public static boolean isGecko
true
if the browser is gecko.
public static boolean isGecko2
true
if the browser is gecko2.
public static boolean isGecko3
true
if the browser is gecko3.
public static boolean isGecko35
true
if the browser is gecko3.5.
public static boolean isStrict
true
if the browser is in strict mode.
public static boolean isSecure
true
if using https.
public static boolean isMac
true
if mac os.
public static boolean isLinux
true
if linux os.
public static boolean isWindows
true
if windows os.
public static boolean isAir
true
if is air.
public static boolean isBorderBox
true
if is borderbox.
public static boolean useShims
true
if the browser uses shims.
public static java.lang.String SSL_SECURE_URL
public static java.lang.String BLANK_IMAGE_URL
public static java.lang.String RESOURCES_URL
public static boolean isHighContrastMode
Constructor Detail |
---|
public GXT()
Method Detail |
---|
public static java.lang.String getAutoIdPrefix()
public static java.lang.String getThemeId()
public static java.lang.String getUserAgent()
public static Version getVersion()
public static void hideLoadingPanel(java.lang.String id)
id
- the loading panel idpublic static void init()
public static boolean isAriaEnabled()
public static boolean isFocusManagerEnabled()
public static void setAriaEnabled(boolean enable)
enable
- true to enablepublic static void setFocusManagerEnabled(boolean enable)
enable
- true to enablepublic static void setAutoIdPrefix(java.lang.String autoIdPrefix)
autoIdPrefix
- the auto id prefixpublic static void setDefaultTheme(Theme theme, boolean force)
theme
- the default themeforce
- true to force the theme, ignoring the the theme saved with the
state managerpublic static void switchTheme(Theme theme)
theme
- the new theme name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |