commons-xml/java/external/xdocs/dom/style/ecma-script-binding.html

1736 lines
40 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:45:32 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECMAScript Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='acknowledgements.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='java-binding.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='java-binding.html'>previous</a> &nbsp; <a accesskey='n'
href='acknowledgements.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="ecma-binding" name='ecma-binding'></a>
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript
Language Binding</h1>
<p>This appendix contains the complete ECMAScript [<a
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>]
binding for the Level 2 Document Object Model Style definitions.
The definitions are divided into <a
href='#StyleSheets-ECMA'>StyleSheets</a> and <a
href='#CSS-ECMA'>CSS</a>.</p>
<p><b>Note:</b> Exceptions handling is only supported by ECMAScript
implementation conformant with the Standard ECMA-262 3rd. Edition
([<a class='noxref'
href='references.html#ECMAScript'>ECMAScript</a>]).</p>
<div class='div2'><a id="StyleSheets-ECMA"
name='StyleSheets-ECMA'></a>
<h2 id='StyleSheets-ECMA-h2' class='adiv2'>C.1: Document Object
Model StyleSheets</h2>
<div class='ecma-block'>
<dl>
<dt>Object <b>StyleSheet</b></dt>
<dd>
<dl>
<dt>The <b>StyleSheet</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>type</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
<dt><b>disabled</b></dt>
<dd>This property is of type <b>Boolean</b>.</dd>
<dt><b>ownerNode</b></dt>
<dd>This read-only property is a <b>Node</b> object.</dd>
<dt><b>parentStyleSheet</b></dt>
<dd>This read-only property is a <b>StyleSheet</b> object.</dd>
<dt><b>href</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
<dt><b>title</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
<dt><b>media</b></dt>
<dd>This read-only property is a <b>MediaList</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>StyleSheetList</b></dt>
<dd>
<dl>
<dt>The <b>StyleSheetList</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>length</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
</dl>
</dd>
<dt>The <b>StyleSheetList</b> object has the following
methods:</dt>
<dd>
<dl>
<dt><b>item(index)</b></dt>
<dd>This method returns a <b>StyleSheet</b> object.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
<b>Note:</b> This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
<b>index</b> is equivalent to invoking the <b>item</b> method with
that index.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>MediaList</b></dt>
<dd>
<dl>
<dt>The <b>MediaList</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>mediaText</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>length</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
</dl>
</dd>
<dt>The <b>MediaList</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>item(index)</b></dt>
<dd>This method returns a <b>String</b>.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
<b>Note:</b> This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
<b>index</b> is equivalent to invoking the <b>item</b> method with
that index.</dd>
<dt><b>deleteMedium(oldMedium)</b></dt>
<dd>This method has no return value.<br />
The <b>oldMedium</b> parameter is of type <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>appendMedium(newMedium)</b></dt>
<dd>This method has no return value.<br />
The <b>newMedium</b> parameter is of type <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>LinkStyle</b></dt>
<dd>
<dl>
<dt>The <b>LinkStyle</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>sheet</b></dt>
<dd>This read-only property is a <b>StyleSheet</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>DocumentStyle</b></dt>
<dd>
<dl>
<dt>The <b>DocumentStyle</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>styleSheets</b></dt>
<dd>This read-only property is a <b>StyleSheetList</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- ecma-block -->
</div>
<!-- div2 StyleSheets-ECMA -->
<div class='div2'><a id="CSS-ECMA" name='CSS-ECMA'></a>
<h2 id='CSS-ECMA-h2' class='adiv2'>C.2: Document Object Model
CSS</h2>
<div class='ecma-block'>
<dl>
<dt>Object <b>CSSStyleSheet</b></dt>
<dd>
<dl>
<dt><b>CSSStyleSheet</b> has the all the properties and methods of
the <b>StyleSheet</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSStyleSheet</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>ownerRule</b></dt>
<dd>This read-only property is a <b>CSSRule</b> object.</dd>
<dt><b>cssRules</b></dt>
<dd>This read-only property is a <b>CSSRuleList</b> object.</dd>
</dl>
</dd>
<dt>The <b>CSSStyleSheet</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>insertRule(rule, index)</b></dt>
<dd>This method returns a <b>Number</b>.<br />
The <b>rule</b> parameter is of type <b>String</b>.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>deleteRule(index)</b></dt>
<dd>This method has no return value.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSRuleList</b></dt>
<dd>
<dl>
<dt>The <b>CSSRuleList</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>length</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
</dl>
</dd>
<dt>The <b>CSSRuleList</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>item(index)</b></dt>
<dd>This method returns a <b>CSSRule</b> object.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
<b>Note:</b> This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
<b>index</b> is equivalent to invoking the <b>item</b> method with
that index.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Prototype Object <b>CSSRule</b></dt>
<dd>
<dl>
<dt>The <b>CSSRule</b> class has the following constants:</dt>
<dd>
<dl>
<dt><b>CSSRule.UNKNOWN_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>0</b>.</dd>
<dt><b>CSSRule.STYLE_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>1</b>.</dd>
<dt><b>CSSRule.CHARSET_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>2</b>.</dd>
<dt><b>CSSRule.IMPORT_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>3</b>.</dd>
<dt><b>CSSRule.MEDIA_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>4</b>.</dd>
<dt><b>CSSRule.FONT_FACE_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>5</b>.</dd>
<dt><b>CSSRule.PAGE_RULE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>6</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSRule</b></dt>
<dd>
<dl>
<dt>The <b>CSSRule</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>type</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
<dt><b>cssText</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>parentStyleSheet</b></dt>
<dd>This read-only property is a <b>CSSStyleSheet</b> object.</dd>
<dt><b>parentRule</b></dt>
<dd>This read-only property is a <b>CSSRule</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSStyleRule</b></dt>
<dd>
<dl>
<dt><b>CSSStyleRule</b> has the all the properties and methods of
the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSStyleRule</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>selectorText</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>style</b></dt>
<dd>This read-only property is a <b>CSSStyleDeclaration</b>
object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSMediaRule</b></dt>
<dd>
<dl>
<dt><b>CSSMediaRule</b> has the all the properties and methods of
the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSMediaRule</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>media</b></dt>
<dd>This read-only property is a <b>MediaList</b> object.</dd>
<dt><b>cssRules</b></dt>
<dd>This read-only property is a <b>CSSRuleList</b> object.</dd>
</dl>
</dd>
<dt>The <b>CSSMediaRule</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>insertRule(rule, index)</b></dt>
<dd>This method returns a <b>Number</b>.<br />
The <b>rule</b> parameter is of type <b>String</b>.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>deleteRule(index)</b></dt>
<dd>This method has no return value.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSFontFaceRule</b></dt>
<dd>
<dl>
<dt><b>CSSFontFaceRule</b> has the all the properties and methods
of the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSFontFaceRule</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>style</b></dt>
<dd>This read-only property is a <b>CSSStyleDeclaration</b>
object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSPageRule</b></dt>
<dd>
<dl>
<dt><b>CSSPageRule</b> has the all the properties and methods of
the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSPageRule</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>selectorText</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>style</b></dt>
<dd>This read-only property is a <b>CSSStyleDeclaration</b>
object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSImportRule</b></dt>
<dd>
<dl>
<dt><b>CSSImportRule</b> has the all the properties and methods of
the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSImportRule</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>href</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
<dt><b>media</b></dt>
<dd>This read-only property is a <b>MediaList</b> object.</dd>
<dt><b>styleSheet</b></dt>
<dd>This read-only property is a <b>CSSStyleSheet</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSCharsetRule</b></dt>
<dd>
<dl>
<dt><b>CSSCharsetRule</b> has the all the properties and methods of
the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSCharsetRule</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>encoding</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSUnknownRule</b></dt>
<dd>
<dl>
<dt><b>CSSUnknownRule</b> has the all the properties and methods of
the <b>CSSRule</b> object as well as the properties and methods
defined below.</dt>
</dl>
</dd>
<dt>Object <b>CSSStyleDeclaration</b></dt>
<dd>
<dl>
<dt>The <b>CSSStyleDeclaration</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>cssText</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>length</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
<dt><b>parentRule</b></dt>
<dd>This read-only property is a <b>CSSRule</b> object.</dd>
</dl>
</dd>
<dt>The <b>CSSStyleDeclaration</b> object has the following
methods:</dt>
<dd>
<dl>
<dt><b>getPropertyValue(propertyName)</b></dt>
<dd>This method returns a <b>String</b>.<br />
The <b>propertyName</b> parameter is of type <b>String</b>.</dd>
<dt><b>getPropertyCSSValue(propertyName)</b></dt>
<dd>This method returns a <b>CSSValue</b> object.<br />
The <b>propertyName</b> parameter is of type <b>String</b>.</dd>
<dt><b>removeProperty(propertyName)</b></dt>
<dd>This method returns a <b>String</b>.<br />
The <b>propertyName</b> parameter is of type <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>getPropertyPriority(propertyName)</b></dt>
<dd>This method returns a <b>String</b>.<br />
The <b>propertyName</b> parameter is of type <b>String</b>.</dd>
<dt><b>setProperty(propertyName, value, priority)</b></dt>
<dd>This method has no return value.<br />
The <b>propertyName</b> parameter is of type <b>String</b>.<br />
The <b>value</b> parameter is of type <b>String</b>.<br />
The <b>priority</b> parameter is of type <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>item(index)</b></dt>
<dd>This method returns a <b>String</b>.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
<b>Note:</b> This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
<b>index</b> is equivalent to invoking the <b>item</b> method with
that index.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Prototype Object <b>CSSValue</b></dt>
<dd>
<dl>
<dt>The <b>CSSValue</b> class has the following constants:</dt>
<dd>
<dl>
<dt><b>CSSValue.CSS_INHERIT</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>0</b>.</dd>
<dt><b>CSSValue.CSS_PRIMITIVE_VALUE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>1</b>.</dd>
<dt><b>CSSValue.CSS_VALUE_LIST</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>2</b>.</dd>
<dt><b>CSSValue.CSS_CUSTOM</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>3</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSValue</b></dt>
<dd>
<dl>
<dt>The <b>CSSValue</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>cssText</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>cssValueType</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Prototype Object <b>CSSPrimitiveValue</b></dt>
<dd>
<dl>
<dt>The <b>CSSPrimitiveValue</b> class has the following
constants:</dt>
<dd>
<dl>
<dt><b>CSSPrimitiveValue.CSS_UNKNOWN</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>0</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_NUMBER</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>1</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_PERCENTAGE</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>2</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_EMS</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>3</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_EXS</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>4</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_PX</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>5</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_CM</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>6</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_MM</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>7</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_IN</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>8</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_PT</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>9</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_PC</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>10</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_DEG</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>11</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_RAD</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>12</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_GRAD</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>13</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_MS</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>14</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_S</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>15</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_HZ</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>16</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_KHZ</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>17</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_DIMENSION</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>18</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_STRING</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>19</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_URI</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>20</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_IDENT</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>21</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_ATTR</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>22</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_COUNTER</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>23</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_RECT</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>24</b>.</dd>
<dt><b>CSSPrimitiveValue.CSS_RGBCOLOR</b></dt>
<dd>This constant is of type <b>Number</b> and its value is
<b>25</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSPrimitiveValue</b></dt>
<dd>
<dl>
<dt><b>CSSPrimitiveValue</b> has the all the properties and methods
of the <b>CSSValue</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSPrimitiveValue</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>primitiveType</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
</dl>
</dd>
<dt>The <b>CSSPrimitiveValue</b> object has the following
methods:</dt>
<dd>
<dl>
<dt><b>setFloatValue(unitType, floatValue)</b></dt>
<dd>This method has no return value.<br />
The <b>unitType</b> parameter is of type <b>Number</b>.<br />
The <b>floatValue</b> parameter is a <b>float</b> object.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>getFloatValue(unitType)</b></dt>
<dd>This method returns a <b>float</b> object.<br />
The <b>unitType</b> parameter is of type <b>Number</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>setStringValue(stringType, stringValue)</b></dt>
<dd>This method has no return value.<br />
The <b>stringType</b> parameter is of type <b>Number</b>.<br />
The <b>stringValue</b> parameter is of type <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>getStringValue()</b></dt>
<dd>This method returns a <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>getCounterValue()</b></dt>
<dd>This method returns a <b>Counter</b> object.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>getRectValue()</b></dt>
<dd>This method returns a <b>Rect</b> object.<br />
This method can raise a <b>DOMException</b> object.</dd>
<dt><b>getRGBColorValue()</b></dt>
<dd>This method returns a <b>RGBColor</b> object.<br />
This method can raise a <b>DOMException</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSSValueList</b></dt>
<dd>
<dl>
<dt><b>CSSValueList</b> has the all the properties and methods of
the <b>CSSValue</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>CSSValueList</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>length</b></dt>
<dd>This read-only property is of type <b>Number</b>.</dd>
</dl>
</dd>
<dt>The <b>CSSValueList</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>item(index)</b></dt>
<dd>This method returns a <b>CSSValue</b> object.<br />
The <b>index</b> parameter is of type <b>Number</b>.<br />
<b>Note:</b> This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
<b>index</b> is equivalent to invoking the <b>item</b> method with
that index.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>RGBColor</b></dt>
<dd>
<dl>
<dt>The <b>RGBColor</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>red</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
<dt><b>green</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
<dt><b>blue</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>Rect</b></dt>
<dd>
<dl>
<dt>The <b>Rect</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>top</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
<dt><b>right</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
<dt><b>bottom</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
<dt><b>left</b></dt>
<dd>This read-only property is a <b>CSSPrimitiveValue</b>
object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>Counter</b></dt>
<dd>
<dl>
<dt>The <b>Counter</b> object has the following properties:</dt>
<dd>
<dl>
<dt><b>identifier</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
<dt><b>listStyle</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
<dt><b>separator</b></dt>
<dd>This read-only property is of type <b>String</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>ViewCSS</b></dt>
<dd>
<dl>
<dt><b>ViewCSS</b> has the all the properties and methods of the
<b>AbstractView</b> object as well as the properties and methods
defined below.</dt>
<dt>The <b>ViewCSS</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>getComputedStyle(elt, pseudoElt)</b></dt>
<dd>This method returns a <b>CSSStyleDeclaration</b> object.<br />
The <b>elt</b> parameter is a <b>Element</b> object.<br />
The <b>pseudoElt</b> parameter is of type <b>String</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>DocumentCSS</b></dt>
<dd>
<dl>
<dt><b>DocumentCSS</b> has the all the properties and methods of
the <b>DocumentStyle</b> object as well as the properties and
methods defined below.</dt>
<dt>The <b>DocumentCSS</b> object has the following methods:</dt>
<dd>
<dl>
<dt><b>getOverrideStyle(elt, pseudoElt)</b></dt>
<dd>This method returns a <b>CSSStyleDeclaration</b> object.<br />
The <b>elt</b> parameter is a <b>Element</b> object.<br />
The <b>pseudoElt</b> parameter is of type <b>String</b>.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>DOMImplementationCSS</b></dt>
<dd>
<dl>
<dt><b>DOMImplementationCSS</b> has the all the properties and
methods of the <b>DOMImplementation</b> object as well as the
properties and methods defined below.</dt>
<dt>The <b>DOMImplementationCSS</b> object has the following
methods:</dt>
<dd>
<dl>
<dt><b>createCSSStyleSheet(title, media)</b></dt>
<dd>This method returns a <b>CSSStyleSheet</b> object.<br />
The <b>title</b> parameter is of type <b>String</b>.<br />
The <b>media</b> parameter is of type <b>String</b>.<br />
This method can raise a <b>DOMException</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>ElementCSSInlineStyle</b></dt>
<dd>
<dl>
<dt>The <b>ElementCSSInlineStyle</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>style</b></dt>
<dd>This read-only property is a <b>CSSStyleDeclaration</b>
object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>CSS2Properties</b></dt>
<dd>
<dl>
<dt>The <b>CSS2Properties</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>azimuth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>background</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>backgroundAttachment</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>backgroundColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>backgroundImage</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>backgroundPosition</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>backgroundRepeat</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>border</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderCollapse</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderSpacing</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderTop</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderRight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderBottom</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderLeft</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderTopColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderRightColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderBottomColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderLeftColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderTopStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderRightStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderBottomStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderLeftStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderTopWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderRightWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderBottomWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderLeftWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>borderWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>bottom</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>captionSide</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>clear</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>clip</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>color</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>content</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>counterIncrement</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>counterReset</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>cue</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>cueAfter</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>cueBefore</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>cursor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>direction</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>display</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>elevation</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>emptyCells</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>cssFloat</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>font</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontFamily</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontSize</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontSizeAdjust</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontStretch</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontVariant</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>fontWeight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>height</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>left</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>letterSpacing</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>lineHeight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>listStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>listStyleImage</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>listStylePosition</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>listStyleType</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>margin</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>marginTop</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>marginRight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>marginBottom</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>marginLeft</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>markerOffset</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>marks</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>maxHeight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>maxWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>minHeight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>minWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>orphans</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>outline</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>outlineColor</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>outlineStyle</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>outlineWidth</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>overflow</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>padding</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>paddingTop</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>paddingRight</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>paddingBottom</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>paddingLeft</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>page</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pageBreakAfter</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pageBreakBefore</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pageBreakInside</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pause</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pauseAfter</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pauseBefore</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pitch</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>pitchRange</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>playDuring</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>position</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>quotes</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>richness</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>right</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>size</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>speak</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>speakHeader</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>speakNumeral</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>speakPunctuation</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>speechRate</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>stress</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>tableLayout</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>textAlign</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>textDecoration</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>textIndent</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>textShadow</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>textTransform</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>top</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>unicodeBidi</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>verticalAlign</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>visibility</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>voiceFamily</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>volume</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>whiteSpace</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>widows</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>width</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>wordSpacing</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
<dt><b>zIndex</b></dt>
<dd>This property is of type <b>String</b> and can raise a
<b>DOMException</b> object on setting.</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- ecma-block -->
</div>
<!-- div2 CSS-ECMA --></div>
<!-- div1 ecma-binding -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='java-binding.html'>previous</a> &nbsp; <a
accesskey='n' href='acknowledgements.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>