|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.gwtutils.client.BrowserUtils
public class BrowserUtils
Various browser related or browser specific utilities.
| Field Summary | |
|---|---|
static String |
USER_AGENT
The user-agent string of the browser we are running in. |
| Constructor Summary | |
|---|---|
BrowserUtils()
|
|
| Method Summary | |
|---|---|
static String |
getHostPageUrl()
Returns the URL of the host webpage. |
static boolean |
isIE()
Returns whether we are running in MSIE. |
static boolean |
isIE6()
Returns whether we are running in MSIE 6. |
static boolean |
isMozilla()
Returns whether we are running in a Mozilla browser. |
static boolean |
isOpera()
Returns whether we are running in Opera. |
static boolean |
isSafari()
Returns whether we are running in Safari. |
static void |
setStatus(String statusText)
Sets the status of the window we're running in to the specified string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String USER_AGENT
| Constructor Detail |
|---|
public BrowserUtils()
| Method Detail |
|---|
public static boolean isIE()
public static boolean isIE6()
public static boolean isOpera()
public static boolean isSafari()
public static boolean isMozilla()
public static String getHostPageUrl()
public static void setStatus(String statusText)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||