com.gargoylesoftware.htmlunit.javascript.host
Class Screen

java.lang.Object
  extended by net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
      extended by com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
          extended by com.gargoylesoftware.htmlunit.javascript.host.Screen
All Implemented Interfaces:
Serializable, Cloneable, Map, net.sourceforge.htmlunit.corejs.javascript.ConstProperties, net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableObject, net.sourceforge.htmlunit.corejs.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: 5301 $
Author:
Mike Bowler, Daniel Gredler, Chris Erskine
See Also:
MSDN documentation, Mozilla documentation, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
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 jsxGet_availHeight()
          Returns the availHeight property.
 int jsxGet_availLeft()
          Returns the availLeft property.
 int jsxGet_availTop()
          Returns the availTop property.
 int jsxGet_availWidth()
          Returns the availWidth property.
 int jsxGet_bufferDepth()
          Returns the bufferDepth property.
 int jsxGet_colorDepth()
          Returns the colorDepth property.
 int jsxGet_deviceXDPI()
          Returns the deviceXDPI property.
 int jsxGet_deviceYDPI()
          Returns the deviceYDPI property.
 boolean jsxGet_fontSmoothingEnabled()
          Returns the fontSmoothingEnabled property.
 int jsxGet_height()
          Returns the height property.
 int jsxGet_left()
          Returns the left property.
 int jsxGet_logicalXDPI()
          Returns the logicalXDPI property.
 int jsxGet_logicalYDPI()
          Returns the logicalYDPI property.
 int jsxGet_pixelDepth()
          Returns the pixelDepth property.
 int jsxGet_top()
          Returns the top property.
 int jsxGet_updateInterval()
          Returns the updateInterval property.
 int jsxGet_width()
          Returns 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
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
 
Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, clear, containsKey, containsValue, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, entrySet, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, keySet, preventExtensions, put, put, put, putAll, putConst, putConstProperty, putProperty, putProperty, redefineProperty, remove, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size, values
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

Screen

public Screen()
Creates an instance. JavaScript objects must have a default constructor.

Method Detail

jsxGet_availHeight

public int jsxGet_availHeight()
Returns the availHeight property.

Returns:
the availHeight property

jsxGet_availLeft

public int jsxGet_availLeft()
Returns the availLeft property.

Returns:
the availLeft property

jsxGet_availTop

public int jsxGet_availTop()
Returns the availTop property.

Returns:
the availTop property

jsxGet_availWidth

public int jsxGet_availWidth()
Returns the availWidth property.

Returns:
the availWidth property

jsxGet_bufferDepth

public int jsxGet_bufferDepth()
Returns the bufferDepth property.

Returns:
the bufferDepth property

jsxSet_bufferDepth

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

Parameters:
bufferDepth - the bufferDepth property

jsxGet_colorDepth

public int jsxGet_colorDepth()
Returns the colorDepth property.

Returns:
the colorDepth property

jsxGet_deviceXDPI

public int jsxGet_deviceXDPI()
Returns the deviceXDPI property.

Returns:
the deviceXDPI property

jsxGet_deviceYDPI

public int jsxGet_deviceYDPI()
Returns the deviceYDPI property.

Returns:
the deviceYDPI property

jsxGet_fontSmoothingEnabled

public boolean jsxGet_fontSmoothingEnabled()
Returns the fontSmoothingEnabled property.

Returns:
the fontSmoothingEnabled property

jsxGet_height

public int jsxGet_height()
Returns the height property.

Returns:
the height property

jsxGet_left

public int jsxGet_left()
Returns the left property.

Returns:
the left property

jsxSet_left

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

Parameters:
left - the left property

jsxGet_logicalXDPI

public int jsxGet_logicalXDPI()
Returns the logicalXDPI property.

Returns:
the logicalXDPI property

jsxGet_logicalYDPI

public int jsxGet_logicalYDPI()
Returns the logicalYDPI property.

Returns:
the logicalYDPI property

jsxGet_pixelDepth

public int jsxGet_pixelDepth()
Returns the pixelDepth property.

Returns:
the pixelDepth property

jsxGet_top

public int jsxGet_top()
Returns the top property.

Returns:
the top property

jsxSet_top

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

Parameters:
top - the top property

jsxGet_updateInterval

public int jsxGet_updateInterval()
Returns the updateInterval property.

Returns:
the updateInterval property

jsxSet_updateInterval

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

Parameters:
updateInterval - the updateInterval property

jsxGet_width

public int jsxGet_width()
Returns the width property.

Returns:
the width property


Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.