|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itmill.toolkit.terminal.gwt.client.BrowserInfo
public class BrowserInfo
Class used to query information about web browser. Browser details are detected only once and those are stored in this singleton class.
Method Summary | |
---|---|
static BrowserInfo |
get()
Singleton method to get BrowserInfo object. |
static String |
getBrowserString()
|
String |
getCSSClass()
Returns a string representing the browser in use, for use in CSS classnames. |
float |
getGeckoVersion()
|
float |
getIEVersion()
|
float |
getWebkitVersion()
|
boolean |
isFF2()
|
boolean |
isFF3()
|
boolean |
isGecko()
|
boolean |
isIE()
|
boolean |
isIE6()
|
boolean |
isIE7()
|
boolean |
isOpera()
|
boolean |
isSafari()
|
static void |
test()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BrowserInfo get()
public String getCSSClass()
prefix
- a prefix to add to the classnames
public boolean isIE()
public boolean isSafari()
public boolean isIE6()
public boolean isIE7()
public boolean isGecko()
public boolean isFF2()
public boolean isFF3()
public float getGeckoVersion()
public float getWebkitVersion()
public float getIEVersion()
public boolean isOpera()
public static String getBrowserString()
public static void test()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |