nsISupports
Last changed in Gecko 1.9 (Firefox 3)To get an instance, use the boxObject
property.
Where possible, element.getClientRects
and element.getBoundingClientRect
should be used instead.
wstring getLookAndFeelMetric(in wstring propertyName); Obsolete since Gecko 1.9 |
wstring getProperty(in wstring propertyName); |
nsISupports getPropertyAsSupports(in wstring propertyName); |
void removeProperty(in wstring propertyName); |
void setProperty(in wstring propertyName, in wstring propertyValue); |
void setPropertyAsSupports(in wstring propertyName, in nsISupports value); |
Attribute | Type | Description |
element | nsIDOMElement | Read only. |
firstChild | nsIDOMElement | The first child of the box, in box-ordinal-group order. Read only. |
height | long | The height of the box, in CSS pixels. Read only. |
lastChild | nsIDOMElement | The last child of the box, in box-ordinal-group order. Read only. |
layoutManager | nsIBoxLayoutManager | Obsolete since Gecko 1.9 |
nextSibling | nsIDOMElement | The next sibling of the box, in box-ordinal-group order. Read only. |
paintManager | nsIBoxPaintManager | Obsolete since Gecko 1.9 |
parentBox | nsIDOMElement | The parent of the box, in box-ordinal-group order. Read only. |
previousSibling | nsIDOMElement | The previous sibling of the box, in box-ordinal-group order. Read only. |
screenX | long | The x coordinate of the box relative to the screen origin, in device pixels. Read only. |
screenY | long | The y coordinate of the box relative to the screen origin, in device pixels. Read only. |
width | long | The width of the box, in CSS pixels. Read only. |
x | long | The x coordinate of the box, in CSS pixels. Read only. |
y | long | The y coordinate of the box, in CSS pixels. Read only. |
wstring getLookAndFeelMetric( in wstring propertyName );
propertyName
wstring getProperty( in wstring propertyName );
propertyName
nsISupports getPropertyAsSupports( in wstring propertyName );
propertyName
void removeProperty( in wstring propertyName );
propertyName
void setProperty( in wstring propertyName, in wstring propertyValue );
propertyName
propertyValue
void setPropertyAsSupports( in wstring propertyName, in nsISupports value );
propertyName
value