|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.NodeImpl
com.gargoylesoftware.htmlunit.javascript.host.HTMLElement
com.gargoylesoftware.htmlunit.javascript.host.RowContainer
com.gargoylesoftware.htmlunit.javascript.host.Table
public class Table
A JavaScript object representing a Table.
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
Table()
Create an instance. |
Method Summary | |
---|---|
void |
jsConstructor()
Javascript constructor. |
java.lang.Object |
jsxFunction_createCaption()
If this table does not have a caption, this method creates an empty table caption, adds it to the table and then returns it. |
java.lang.Object |
jsxFunction_createTFoot()
If this table does not have a tfoot element, this method creates an empty tfoot element, adds it to the table and then returns it. |
java.lang.Object |
jsxFunction_createTHead()
If this table does not have a thead element, this method creates an empty thead element, adds it to the table and then returns it. |
void |
jsxFunction_deleteCaption()
Deletes this table's caption. |
void |
jsxFunction_deleteTFoot()
Deletes this table's tfoot element. |
void |
jsxFunction_deleteTHead()
Deletes this table's thead element. |
void |
jsxFunction_refresh()
Refreshes the content of this table. |
java.lang.Object |
jsxGet_caption()
Returns the table's caption element, or null if none exists. |
java.lang.String |
jsxGet_cellPadding()
Returns the cellPadding attribute. |
java.lang.String |
jsxGet_cellSpacing()
Returns the cellSpacing attribute. |
java.lang.Object |
jsxGet_tBodies()
Returns the tbody's in the table. |
java.lang.Object |
jsxGet_tFoot()
Returns the table's tfoot element, or null if none exists. |
java.lang.Object |
jsxGet_tHead()
Returns the table's thead element, or null if none exists. |
java.lang.String |
jsxGet_width()
Returns the width attribute. |
void |
jsxSet_cellPadding(java.lang.String cellPadding)
Sets the cellPadding attribute. |
void |
jsxSet_cellSpacing(java.lang.String cellSpacing)
Sets the cellSpacing attribute. |
void |
jsxSet_width(java.lang.String width)
Sets the width attribute. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.RowContainer |
---|
jsxFunction_deleteRow, jsxFunction_insertRow, jsxFunction_moveRow, jsxGet_rows |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.NodeImpl |
---|
executeEvent, fireEvent, getEventHandler, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setHtmlElement |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Constructor Detail |
---|
public Table()
Method Detail |
---|
public void jsConstructor()
jsConstructor
in class RowContainer
public java.lang.Object jsxFunction_createCaption()
public java.lang.Object jsxFunction_createTFoot()
public java.lang.Object jsxFunction_createTHead()
public void jsxFunction_deleteCaption()
public void jsxFunction_deleteTFoot()
public void jsxFunction_deleteTHead()
public void jsxFunction_refresh()
public java.lang.Object jsxGet_caption()
public java.lang.String jsxGet_cellPadding()
public java.lang.String jsxGet_cellSpacing()
public java.lang.Object jsxGet_tBodies()
public java.lang.Object jsxGet_tFoot()
public java.lang.Object jsxGet_tHead()
public java.lang.String jsxGet_width()
public void jsxSet_cellPadding(java.lang.String cellPadding)
cellPadding
- The cellPadding attribute.public void jsxSet_cellSpacing(java.lang.String cellSpacing)
cellSpacing
- The cellSpacing attribute.public void jsxSet_width(java.lang.String width)
width
- The width attribute.
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |