public class Screen extends EventTarget
Screen.org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunctionCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_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. |
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. |
boolean |
isIsExtended()
Returns the
orientation 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, setEventHandlerclone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getWindow, getWindow, getWindowFromTopCallScope, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromiseapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkSlotRemoval, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, 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, getSuperProperty, getSuperProperty, getSuperProperty, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, sizecreateSlotMappublic Screen()
public Screen(Screen screen)
screen - the backendpublic void jsConstructor()
jsConstructor in class EventTargetpublic 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 isIsExtended()
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–2025 Gargoyle Software Inc.. All rights reserved.