|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.Navigator
public final class Navigator
A JavaScript object for a Navigator.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
|---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
| Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
Navigator()
Creates an instance. |
|
| Method Summary | |
|---|---|
String |
getAppCodeName()
Returns the property "appCodeName". |
String |
getAppMinorVersion()
Returns the property "appMinorVersion". |
String |
getAppName()
Returns the property "appName". |
String |
getAppVersion()
Returns the property "appVersion". |
String |
getBrowserLanguage()
Returns the language of the browser (for IE). |
String |
getBuildID()
Returns the buildID. |
boolean |
getCookieEnabled()
Returns the property "cookieEnabled". |
String |
getCpuClass()
Returns the property "cpuClass". |
String |
getDoNotTrack()
Returns the doNotTrack. |
Geolocation |
getGeolocation()
Returns the geolocation. |
String |
getLanguage()
Returns the language of the browser (for Mozilla). |
Object |
getMimeTypes()
Returns an empty array because HtmlUnit does not support embedded objects. |
String |
getMsDoNotTrack()
Returns the msDoNotTrack. |
boolean |
getOnLine()
Returns the property "onLine". |
String |
getOscpu()
Returns the oscpu. |
String |
getPlatform()
Returns the property "platform". |
Object |
getPlugins()
Returns an empty array because HtmlUnit does not support embedded objects. |
String |
getProduct()
Returns the property "product". |
String |
getProductSub()
Returns the build number of the current browser. |
String |
getSystemLanguage()
Returns the property "systemLanguage". |
String |
getUserAgent()
Returns the property "userAgent". |
String |
getUserLanguage()
Returns the property "userLanguage". |
String |
getVendor()
Returns the vendor. |
String |
getVendorSub()
Returns the vendorSub. |
boolean |
javaEnabled()
Indicates if Java is enabled. |
boolean |
taintEnabled()
Returns false always as data tainting support is not enabled in HtmlUnit. |
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
|---|
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement |
| Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
|---|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Navigator()
| Method Detail |
|---|
public String getAppCodeName()
public String getAppMinorVersion()
public String getAppName()
public String getAppVersion()
public String getBrowserLanguage()
public String getLanguage()
public boolean getCookieEnabled()
public String getCpuClass()
public boolean getOnLine()
public String getPlatform()
public String getProduct()
public String getProductSub()
public String getSystemLanguage()
public String getUserAgent()
public String getUserLanguage()
public Object getPlugins()
public Object getMimeTypes()
public boolean javaEnabled()
WebClientOptions.isAppletEnabled()public boolean taintEnabled()
public Geolocation getGeolocation()
public String getBuildID()
public String getVendor()
public String getVendorSub()
public String getDoNotTrack()
public String getMsDoNotTrack()
public String getOscpu()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||