|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.Node
com.gargoylesoftware.htmlunit.javascript.host.EventNode
com.gargoylesoftware.htmlunit.javascript.host.Element
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement
com.gargoylesoftware.htmlunit.javascript.host.RowContainer
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLTableElement
public class HTMLTableElement
A JavaScript object representing a Table.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement |
---|
HTMLElement.ProxyDomNode |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement |
---|
BEHAVIOR_ID_CLIENT_CAPS, BEHAVIOR_ID_DOWNLOAD, BEHAVIOR_ID_HOMEPAGE |
Fields inherited from class com.gargoylesoftware.htmlunit.javascript.host.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
HTMLTableElement()
Creates an instance. |
Method Summary | |
---|---|
protected String |
getXPathRows()
Returns the XPath expression, relative to this node, enabling the retrieval of this container's rows. |
Object |
insertRow(int index)
Handle special case where table is empty. |
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. |
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. |
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. |
String |
jsxGet_bgColor()
Returns the value of the bgColor attribute. |
String |
jsxGet_border()
Gets the border attribute. |
Object |
jsxGet_caption()
Returns the table's caption element, or null if none exists. |
String |
jsxGet_cellPadding()
Returns the cellPadding attribute. |
String |
jsxGet_cellSpacing()
Returns the cellSpacing attribute. |
Object |
jsxGet_tBodies()
Returns the tbody's in the table. |
Object |
jsxGet_tFoot()
Returns the table's tfoot element, or null if none exists. |
Object |
jsxGet_tHead()
Returns the table's thead element, or null if none exists. |
String |
jsxGet_width()
Returns the width attribute. |
void |
jsxSet_bgColor(String bgColor)
Sets the value of the bgColor attribute. |
void |
jsxSet_border(String border)
Sets the border attribute. |
void |
jsxSet_caption(Object o)
Sets the caption. |
void |
jsxSet_cellPadding(String cellPadding)
Sets the cellPadding attribute. |
void |
jsxSet_cellSpacing(String cellSpacing)
Sets the cellSpacing attribute. |
void |
jsxSet_tFoot(Object o)
Sets the tFoot. |
void |
jsxSet_tHead(Object o)
Sets the tHead. |
void |
jsxSet_width(String width)
Sets the width attribute. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.RowContainer |
---|
jsxFunction_deleteRow, jsxFunction_insertRow, jsxFunction_moveRow, jsxGet_align, jsxGet_rows, jsxSet_align |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.Element |
---|
createAttributesObject, jsxFunction_getAttribute, jsxFunction_getElementsByTagNameNS, jsxFunction_hasAttribute, jsxFunction_removeAttribute, jsxFunction_selectNodes, jsxFunction_selectSingleNode, jsxGet_attributes, jsxGet_tagName, jsxGet_text |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setHtmlElement |
Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
---|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, clear, containsKey, containsValue, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, entrySet, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, keySet, preventExtensions, put, put, put, putAll, putConst, putConstProperty, putProperty, putProperty, redefineProperty, remove, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size, values |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
---|
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public HTMLTableElement()
Method Detail |
---|
public Object jsxGet_caption()
public void jsxSet_caption(Object o)
o
- the captionpublic Object jsxGet_tFoot()
public void jsxSet_tFoot(Object o)
o
- the tFootpublic Object jsxGet_tHead()
public void jsxSet_tHead(Object o)
o
- the tHeadpublic Object jsxGet_tBodies()
public Object jsxFunction_createCaption()
public Object jsxFunction_createTFoot()
public Object jsxFunction_createTHead()
public void jsxFunction_deleteCaption()
public void jsxFunction_deleteTFoot()
public void jsxFunction_deleteTHead()
public void jsxFunction_refresh()
protected String getXPathRows()
getXPathRows
in class RowContainer
public Object insertRow(int index)
insertRow
in class RowContainer
index
- the index where the row should be inserted (0 <= index < nbRows)
public String jsxGet_width()
public void jsxSet_width(String width)
width
- the width attributepublic String jsxGet_cellSpacing()
public void jsxSet_cellSpacing(String cellSpacing)
cellSpacing
- the cellSpacing attributepublic String jsxGet_cellPadding()
public void jsxSet_cellPadding(String cellPadding)
cellPadding
- the cellPadding attributepublic String jsxGet_border()
public void jsxSet_border(String border)
border
- the border attributepublic String jsxGet_bgColor()
public void jsxSet_bgColor(String bgColor)
bgColor
- the value of the bgColor attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |