com.aragost.html
Class Cell
java.lang.Object
|
+--com.aragost.html.Element
|
+--com.aragost.html.HtmlElement
|
+--com.aragost.html.CompositeHtmlElement
|
+--com.aragost.html.Cell
- Direct Known Subclasses:
- CellHeader
- public class Cell
- extends CompositeHtmlElement
Methods inherited from class com.aragost.html.HtmlElement |
getAttribute, getAttributes, getBody, getIntAttribute, postBodyWrite, preBodyWrite, setAlign, setAttribute, setBgcolor, setIntAttribute, setWidth, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cell
public Cell(Element elm)
Cell
public Cell(java.lang.String text)
getTag
public java.lang.String getTag()
- Description copied from class:
HtmlElement
- Return the html tag for this element.
- Specified by:
getTag
in class HtmlElement
setColspan
public void setColspan(int span)
isCellLike
public boolean isCellLike()
- Check if the receiver is cell like. See implentation in FromElement.
- Overrides:
isCellLike
in class Element
writeAttributes
public void writeAttributes(HtmlWriter writer)
- Overrides:
writeAttributes
in class HtmlElement
isNoWrap
public boolean isNoWrap()
setNoWrap
public void setNoWrap(boolean noWrap)
getDefaultNoWrap
protected boolean getDefaultNoWrap()
- The default value for the noWrap property
- Returns:
- boolean
init
protected void init(Element elm)
- Overrides:
init
in class CompositeHtmlElement