|
||||||||||
| 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.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 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 | |
|---|---|
Screen()
Creates an instance. |
|
| Method Summary | |
|---|---|
int |
getAvailHeight()
Returns the availHeight property. |
int |
getAvailLeft()
Returns the availLeft property. |
int |
getAvailTop()
Returns the availTop property. |
int |
getAvailWidth()
Returns the availWidth property. |
int |
getBufferDepth()
Returns the bufferDepth property. |
int |
getColorDepth()
Returns the colorDepth property. |
int |
getDeviceXDPI()
Returns the deviceXDPI property. |
int |
getDeviceYDPI()
Returns the deviceYDPI property. |
boolean |
getFontSmoothingEnabled()
Returns the fontSmoothingEnabled property. |
int |
getHeight()
Returns the height property. |
int |
getLeft()
Returns the left property. |
int |
getLogicalXDPI()
Returns the logicalXDPI property. |
int |
getLogicalYDPI()
Returns the logicalYDPI property. |
int |
getPixelDepth()
Returns the pixelDepth property. |
int |
getTop()
Returns the top property. |
int |
getUpdateInterval()
Returns the updateInterval property. |
int |
getWidth()
Returns the width property. |
void |
setBufferDepth(int bufferDepth)
Sets the bufferDepth property. |
void |
setLeft(int left)
Sets the left property. |
void |
setTop(int top)
Sets the top property. |
void |
setUpdateInterval(int updateInterval)
Sets the updateInterval property. |
| 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 Screen()
| Method Detail |
|---|
public int getAvailHeight()
public int getAvailLeft()
public int getAvailTop()
public int getAvailWidth()
public int getBufferDepth()
public void setBufferDepth(int bufferDepth)
bufferDepth - the bufferDepth propertypublic int getColorDepth()
public int getDeviceXDPI()
public int getDeviceYDPI()
public boolean getFontSmoothingEnabled()
public int getHeight()
public int getLeft()
public void setLeft(int left)
left - the left propertypublic int getLogicalXDPI()
public int getLogicalYDPI()
public int getPixelDepth()
public int getTop()
public void setTop(int top)
top - the top propertypublic int getUpdateInterval()
public void setUpdateInterval(int updateInterval)
updateInterval - the updateInterval propertypublic int getWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||