com.gargoylesoftware.htmlunit.javascript.host
Class Screen

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
          extended by com.gargoylesoftware.htmlunit.javascript.host.Screen
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class Screen
extends SimpleScriptable

A javascript object for a Screen. Combines properties from both Mozilla's DOM and IE's DOM.

Version:
$Revision: 1.3 $
Author:
Mike Bowler, Daniel Gredler, Chris Erskine
See Also:
MSDN documentation, Mozilla documentation, Serialized Form

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

Screen

public Screen()
Create an instance. Javascript objects must have a default constructor.

Method Detail

jsxGet_availHeight

public int jsxGet_availHeight()
Return the availHeight property.

Returns:
the availHeight property

jsxGet_availLeft

public int jsxGet_availLeft()
Return the availLeft property.

Returns:
the availLeft property

jsxGet_availTop

public int jsxGet_availTop()
Return the availTop property.

Returns:
the availTop property

jsxGet_availWidth

public int jsxGet_availWidth()
Return the availWidth property.

Returns:
the availWidth property

jsxGet_bufferDepth

public int jsxGet_bufferDepth()
Return the bufferDepth property.

Returns:
the bufferDepth property

jsxGet_colorDepth

public int jsxGet_colorDepth()
Return the colorDepth property.

Returns:
the colorDepth property

jsxGet_deviceXDPI

public int jsxGet_deviceXDPI()
Return the deviceXDPI property.

Returns:
the deviceXDPI property

jsxGet_deviceYDPI

public int jsxGet_deviceYDPI()
Return the deviceYDPI property.

Returns:
the deviceYDPI property

jsxGet_fontSmoothingEnabled

public boolean jsxGet_fontSmoothingEnabled()
Return the fontSmoothingEnabled property.

Returns:
the fontSmoothingEnabled property

jsxGet_height

public int jsxGet_height()
Return the height property.

Returns:
the height property

jsxGet_left

public int jsxGet_left()
Return the left property.

Returns:
the left property

jsxGet_logicalXDPI

public int jsxGet_logicalXDPI()
Return the logicalXDPI property.

Returns:
the logicalXDPI property

jsxGet_logicalYDPI

public int jsxGet_logicalYDPI()
Return the logicalYDPI property.

Returns:
the logicalYDPI property

jsxGet_pixelDepth

public int jsxGet_pixelDepth()
Return the pixelDepth property.

Returns:
the pixelDepth property

jsxGet_top

public int jsxGet_top()
Return the top property.

Returns:
the top property

jsxGet_updateInterval

public int jsxGet_updateInterval()
Return the updateInterval property.

Returns:
the updateInterval property

jsxGet_width

public int jsxGet_width()
Return the width property.

Returns:
the width property

jsxSet_bufferDepth

public void jsxSet_bufferDepth(int bufferDepth)
Sets the bufferDepth property.

Parameters:
bufferDepth - the bufferDepth property

jsxSet_left

public void jsxSet_left(int left)
Sets the left property.

Parameters:
left - the left property

jsxSet_top

public void jsxSet_top(int top)
Sets the top property.

Parameters:
top - the top property

jsxSet_updateInterval

public void jsxSet_updateInterval(int updateInterval)
Sets the updateInterval property.

Parameters:
updateInterval - the updateInterval property


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.