Package com.day.cq.wcm.foundation
Class Table.Cell
- java.lang.Object
-
- com.day.cq.wcm.foundation.Table.Cell
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Table.Cell
appendText(char[] ch, int offset, int len)
Table.Cell
clearAttributes()
String
getAttribute(String name)
Map<String,String>
getAttributes()
Table.Column
getCol()
int
getColSpan()
double
getDoubleValue()
int
getIntValue()
Table.Row
getRow()
int
getRowSpan()
Table.Cell
getSpanSource()
String
getText()
boolean
isHeader()
boolean
isInSpan()
Table.Cell
setAttribute(String name, String value)
Table.Cell
setColSpan(int colSpan)
Table.Cell
setHeader(boolean header)
Table.Cell
setRowSpan(int rowSpan)
Table.Cell
setText(CharSequence text)
void
toHtml(Writer out)
-
-
-
Method Detail
-
getRow
public Table.Row getRow()
-
getCol
public Table.Column getCol()
-
getSpanSource
public Table.Cell getSpanSource()
-
getText
public String getText()
-
appendText
public Table.Cell appendText(char[] ch, int offset, int len)
-
getIntValue
public int getIntValue()
-
getDoubleValue
public double getDoubleValue()
-
getColSpan
public int getColSpan()
-
isInSpan
public boolean isInSpan()
-
setColSpan
public Table.Cell setColSpan(int colSpan)
-
getRowSpan
public int getRowSpan()
-
setRowSpan
public Table.Cell setRowSpan(int rowSpan)
-
setText
public Table.Cell setText(CharSequence text)
-
isHeader
public boolean isHeader()
-
setHeader
public Table.Cell setHeader(boolean header)
-
setAttribute
public Table.Cell setAttribute(String name, String value)
-
clearAttributes
public Table.Cell clearAttributes()
-
toHtml
public void toHtml(Writer out) throws IOException
- Throws:
IOException
-
-