public class BoxObject extends SimpleScriptable
| Constructor and Description |
|---|
BoxObject()
Creates a new instance.
|
BoxObject(HTMLElement element)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
HTMLElement |
jsxGet_element()
Returns the element to which this box object corresponds.
|
Object |
jsxGet_firstChild()
Returns this box object's element's first child.
|
int |
jsxGet_height()
Returns the height of this box object's element, including padding, excluding margin and border.
|
Object |
jsxGet_lastChild()
Returns this box object's element's last child.
|
Object |
jsxGet_nextSibling()
Returns this box object's element's next sibling.
|
Object |
jsxGet_previousSibling()
Returns this box object's element's previous sibling.
|
int |
jsxGet_screenX()
Returns the screenX property.
|
int |
jsxGet_screenY()
Returns the screenY property.
|
int |
jsxGet_width()
Returns the width of this box object's element, including padding, excluding margin and border.
|
int |
jsxGet_x()
Returns the X position of this box object's element.
|
int |
jsxGet_y()
Returns the Y position of this box object's element.
|
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElementapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, 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, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, sizepublic BoxObject()
public BoxObject(HTMLElement element)
element - the element to which this box object correspondspublic HTMLElement jsxGet_element()
public Object jsxGet_firstChild()
public Object jsxGet_lastChild()
public Object jsxGet_nextSibling()
public Object jsxGet_previousSibling()
public int jsxGet_x()
public int jsxGet_y()
public int jsxGet_screenX()
public int jsxGet_screenY()
public int jsxGet_width()
public int jsxGet_height()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.