public class Screen extends EventTarget
Screen
.org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
NOT_FOUND
Constructor and Description |
---|
Screen()
Creates an instance.
|
Screen(Screen screen)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
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 |
getColorDepth()
Returns the
colorDepth property. |
int |
getHeight()
Returns the
height property. |
boolean |
getIsExtended()
Returns the
orientation property. |
int |
getLeft()
Returns the
left property. |
String |
getMozOrientation()
Returns the
orientation property. |
org.htmlunit.corejs.javascript.Function |
getOnchange()
Returns the
onchange event handler for this element. |
ScreenOrientation |
getOrientation()
Returns the
orientation property. |
int |
getPixelDepth()
Returns the
pixelDepth property. |
int |
getTop()
Returns the
top property. |
int |
getWidth()
Returns the
width property. |
void |
jsConstructor()
JavaScript constructor.
|
void |
setOnchange(Object change)
Setter for the
onchange event handler. |
addEventListener, clearEventListenersContainer, dispatchEvent, executeEventLocally, fireEvent, getEventHandler, getEventListenersContainer, hasEventHandlers, isEventHandlerOnWindow, removeEventListener, setEventHandler
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getWindow, getWindow, getWindowFromTopCallScope, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromise
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, size
public Screen()
public Screen(Screen screen)
screen
- the backendpublic void jsConstructor()
jsConstructor
in class EventTarget
public int getAvailHeight()
availHeight
property.availHeight
propertypublic int getAvailLeft()
availLeft
property.availLeft
propertypublic int getAvailTop()
availTop
property.availTop
propertypublic int getAvailWidth()
availWidth
property.availWidth
propertypublic int getColorDepth()
colorDepth
property.colorDepth
propertypublic int getHeight()
height
property.height
propertypublic int getLeft()
left
property.left
propertypublic int getPixelDepth()
pixelDepth
property.pixelDepth
propertypublic int getTop()
top
property.top
propertypublic int getWidth()
width
property.width
propertypublic ScreenOrientation getOrientation()
orientation
property.orientation
propertypublic String getMozOrientation()
orientation
property.orientation
propertypublic boolean getIsExtended()
orientation
property.orientation
propertypublic org.htmlunit.corejs.javascript.Function getOnchange()
onchange
event handler for this element.onchange
event handler for this elementpublic void setOnchange(Object change)
onchange
event handler.change
- the handlerCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.