|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.Screen
public class Screen
A javascript object for a Screen. Combines properties from both Mozilla's DOM and IE's DOM.
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
Screen()
Create an instance. |
Method Summary | |
---|---|
int |
jsxGet_availHeight()
Return the availHeight property. |
int |
jsxGet_availLeft()
Return the availLeft property. |
int |
jsxGet_availTop()
Return the availTop property. |
int |
jsxGet_availWidth()
Return the availWidth property. |
int |
jsxGet_bufferDepth()
Return the bufferDepth property. |
int |
jsxGet_colorDepth()
Return the colorDepth property. |
int |
jsxGet_deviceXDPI()
Return the deviceXDPI property. |
int |
jsxGet_deviceYDPI()
Return the deviceYDPI property. |
boolean |
jsxGet_fontSmoothingEnabled()
Return the fontSmoothingEnabled property. |
int |
jsxGet_height()
Return the height property. |
int |
jsxGet_left()
Return the left property. |
int |
jsxGet_logicalXDPI()
Return the logicalXDPI property. |
int |
jsxGet_logicalYDPI()
Return the logicalYDPI property. |
int |
jsxGet_pixelDepth()
Return the pixelDepth property. |
int |
jsxGet_top()
Return the top property. |
int |
jsxGet_updateInterval()
Return the updateInterval property. |
int |
jsxGet_width()
Return the width property. |
void |
jsxSet_bufferDepth(int bufferDepth)
Sets the bufferDepth property. |
void |
jsxSet_left(int left)
Sets the left property. |
void |
jsxSet_top(int top)
Sets the top property. |
void |
jsxSet_updateInterval(int updateInterval)
Sets the updateInterval property. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setDomNode, setHtmlElement |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Screen()
Method Detail |
---|
public int jsxGet_availHeight()
public int jsxGet_availLeft()
public int jsxGet_availTop()
public int jsxGet_availWidth()
public int jsxGet_bufferDepth()
public int jsxGet_colorDepth()
public int jsxGet_deviceXDPI()
public int jsxGet_deviceYDPI()
public boolean jsxGet_fontSmoothingEnabled()
public int jsxGet_height()
public int jsxGet_left()
public int jsxGet_logicalXDPI()
public int jsxGet_logicalYDPI()
public int jsxGet_pixelDepth()
public int jsxGet_top()
public int jsxGet_updateInterval()
public int jsxGet_width()
public void jsxSet_bufferDepth(int bufferDepth)
bufferDepth
- the bufferDepth propertypublic void jsxSet_left(int left)
left
- the left propertypublic void jsxSet_top(int top)
top
- the top propertypublic void jsxSet_updateInterval(int updateInterval)
updateInterval
- the updateInterval property
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |