|
||||||||||
| 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.html.HTMLTableComponent
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLTableCellElement
public class HTMLTableCellElement
The JavaScript object representing a TD or TH.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement |
|---|
HTMLElement.ProxyDomNode |
| 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 | |
|---|---|
HTMLTableCellElement()
|
|
| Method Summary | |
|---|---|
String |
getAbbr()
Returns the value of the abbr attribute. |
String |
getAxis()
Returns the value of the axis attribute. |
String |
getBgColor()
Returns the value of the bgColor attribute. |
Integer |
getCellIndex()
Returns the index of this cell within the parent row. |
int |
getColSpan()
Returns the value of the colSpan attribute. |
String |
getHeight_js()
Returns the value of the "width" property. |
boolean |
getNoWrap()
Returns the value of the noWrap attribute. |
int |
getOffsetHeight()
Returns this element's offsetHeight, which is the element height plus the element's padding plus the element's border. |
int |
getOffsetWidth()
Returns this element's offsetWidth, which is the element width plus the element's padding plus the element's border. |
int |
getRowSpan()
Returns the value of the rowSpan attribute. |
String |
getWidth_js()
Returns the value of the "width" property. |
void |
setAbbr(String abbr)
Sets the value of the abbr attribute. |
void |
setAttribute(String name,
String value)
Sets an attribute. |
void |
setAxis(String axis)
Sets the value of the axis attribute. |
void |
setBgColor(String bgColor)
Sets the value of the bgColor attribute. |
void |
setColSpan(String colSpan)
Sets the value of the colSpan attribute. |
void |
setHeight(String height)
Sets the value of the "height" property. |
void |
setNoWrap(boolean noWrap)
Sets the value of the noWrap attribute. |
void |
setOuterHTML(String value)
Overwritten to throw an exception in IE8/9. |
void |
setRowSpan(String rowSpan)
Sets the value of the rowSpan attribute. |
void |
setWidth(String width)
Sets the value of the "width" property. |
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.html.HTMLTableComponent |
|---|
getAlign, getCh, getChOff, getVAlign, setAlign, setCh, setChOff, setVAlign |
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.Element |
|---|
createAttributesObject, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getCurrentStyle, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getPreviousElementSibling, getRuntimeStyle, getStyle, getText, hasAttributeNS, removeAttribute, removeAttributeNS, selectNodes, selectSingleNode, setAttributeNode, setAttributeNS, setDefaults |
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.EventNode |
|---|
fireEvent, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpropertychange, getOnresize, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnpropertychange, setOnresize |
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.Node |
|---|
addEventListener, appendChild, asJavaScriptException, attachEvent, cloneNode, compareDocumentPosition, contains, detachEvent, executeEvent, fireEvent, fireEvent, getBaseName, getChildNodes, getEventHandler, getEventHandlerProp, getFirstChild, getJavaScriptNode, getLastChild, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getTextContent, getXml, hasChildNodes, hasEventHandlers, insertBefore, insertBeforeImpl, isSameNode, normalize, removeChild, removeEventListener, replaceChild, setEventHandler, setEventHandlerProp, setNodeValue |
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
|---|
clone, defineFunctionProperties, defineProperty, equivalentValues, getBrowserVersion, getClassName, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setDomNode, setHtmlElement, setParentScope |
| Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
|---|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, 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, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setPrototype, size |
| 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, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
| Constructor Detail |
|---|
public HTMLTableCellElement()
| Method Detail |
|---|
public void setAttribute(String name,
String value)
setAttribute in class HTMLElementname - Name of the attribute to setvalue - Value to set the attribute topublic int getOffsetHeight()
getOffsetHeight in class HTMLElementpublic int getOffsetWidth()
getOffsetWidth in class HTMLElementpublic Integer getCellIndex()
public String getAbbr()
public void setAbbr(String abbr)
abbr - the value of the abbr attributepublic String getAxis()
public void setAxis(String axis)
axis - the value of the axis attributepublic String getBgColor()
public void setBgColor(String bgColor)
bgColor - the value of the bgColor attributepublic int getColSpan()
public void setColSpan(String colSpan)
colSpan - the value of the colSpan attributepublic int getRowSpan()
public void setRowSpan(String rowSpan)
rowSpan - the value of the rowSpan attributepublic boolean getNoWrap()
public void setNoWrap(boolean noWrap)
noWrap - the value of the noWrap attributepublic String getWidth_js()
public void setWidth(String width)
width - the value of the "width" propertypublic String getHeight_js()
public void setHeight(String height)
height - the value of the "height" propertypublic void setOuterHTML(String value)
setOuterHTML in class HTMLElementvalue - the new value for replacing this node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||