public class GXT extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
blankImageUrl |
protected static boolean |
isSecure |
protected static String |
sslSecureUrl |
protected static boolean |
useShims |
Constructor and Description |
---|
GXT() |
Modifier and Type | Method and Description |
---|---|
protected static com.sencha.gxt.core.client.GXT.Device |
device() |
static String |
getBlankImageUrl()
URL to a 1x1 transparent GIF image used by GXT to create inline icons with CSS background images.
|
static String |
getSslSecureUrl()
URL to a blank file used by GXT when in secure mode for iframe src to prevent the IE insecure content.
|
static String |
getUserAgent()
Returns the Window navigator user agent.
|
static Version |
getVersion()
Returns the version information.
|
static boolean |
hasOnTouchStartInWindow()
Returns true if ontouchstart is in window.
|
static boolean |
isAir()
Returns true if the browser is Adobe Air.
|
static boolean |
isAndroid()
Returns true if the user agent contains Android.
|
static boolean |
isChrome()
Returns true if the browser is Chrome.
|
static boolean |
isDesktop()
Returns true if the device is a desktop
|
static boolean |
isGecko()
Returns true if the browser is Gecko.
|
static boolean |
isGecko1_8()
Returns true if the browser is Gecko 2.
|
static boolean |
isGecko1_9()
Returns true if the browser is Gecko 3.
|
static boolean |
isIE()
Returns true if the browser is IE.
|
static boolean |
isIE10()
Returns true if the browser is IE 10.
|
static boolean |
isIE11()
Returns true if the browser is IE 11.
|
static boolean |
isIE8()
Returns true if the browser is IE 8.
|
static boolean |
isIE9()
Returns true if the browser is IE 9.
|
static boolean |
isiOS()
Returns true if the user agent contains iPhone,iPad or iPod.
|
static boolean |
isLinux()
Returns true if the OS is Linux.
|
static boolean |
isMac()
Returns true if the OS is Mac.
|
static boolean |
isMSEdge()
Returns true if the browser is MS Edge.
|
static boolean |
isSafari()
Returns true if the browser is Safari.
|
static boolean |
isSafari3()
Returns true if the browser is Safari 3.
|
static boolean |
isSafari4()
Returns true if the browser is Safari 4.
|
static boolean |
isSafari5()
Returns true if the browser is Safari 5.
|
static boolean |
isSecure()
Returns true if using HTTPS.
|
static boolean |
isTablet() |
static boolean |
isTouch()
Returns true if device is touch enabled.
|
static boolean |
isUseShims()
Returns true if the browser uses shims.
|
static boolean |
isWebKit()
Returns true if the browser uses the webkit engine.
|
static boolean |
isWindows()
Returns true if the OS is Windows.
|
static boolean |
isWindowsMobile()
Returns true if the user agent contains IEMobile.
|
static int |
maxTouchPoints()
Returns the max touch points of the window.
|
protected static com.sencha.gxt.core.client.GXT.OS |
platform() |
static void |
setUseShims(boolean useShims)
True to force the use of shims.
|
protected static com.sencha.gxt.core.client.GXT.UserAgent |
userAgent() |
protected static final boolean isSecure
protected static boolean useShims
protected static final String sslSecureUrl
protected static String blankImageUrl
protected static final com.sencha.gxt.core.client.GXT.OS platform()
protected static final com.sencha.gxt.core.client.GXT.UserAgent userAgent()
protected static final com.sencha.gxt.core.client.GXT.Device device()
public static String getBlankImageUrl()
public static String getSslSecureUrl()
public static Version getVersion()
public static boolean isTablet()
public static boolean isTouch()
public static int maxTouchPoints()
public static boolean hasOnTouchStartInWindow()
public static boolean isDesktop()
public static boolean isAir()
public static boolean isChrome()
public static boolean isGecko()
public static boolean isGecko1_8()
public static boolean isGecko1_9()
public static boolean isIE()
public static boolean isIE8()
public static boolean isIE9()
public static boolean isIE10()
public static boolean isIE11()
public static boolean isMSEdge()
public static boolean isLinux()
public static boolean isMac()
public static boolean isSafari()
public static boolean isSafari3()
public static boolean isSafari4()
public static boolean isSafari5()
public static boolean isSecure()
public static boolean isUseShims()
setUseShims(boolean)
.public static boolean isWebKit()
public static boolean isWindows()
public static void setUseShims(boolean useShims)
useShims
- true to use shimspublic static boolean isiOS()
public static boolean isAndroid()
public static boolean isWindowsMobile()
public static String getUserAgent()
Copyright © 2020. All rights reserved.