Package com.day.cq.wcm.foundation
Class Table.Cell
- java.lang.Object
-
- com.day.cq.wcm.foundation.Table.Cell
-
- Enclosing class:
- Table
public static class Table.Cell extends java.lang.Object
-
-
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()
java.lang.String
getAttribute(java.lang.String name)
java.util.Map<java.lang.String,java.lang.String>
getAttributes()
Table.Column
getCol()
int
getColSpan()
double
getDoubleValue()
int
getIntValue()
Table.Row
getRow()
int
getRowSpan()
Table.Cell
getSpanSource()
java.lang.String
getText()
boolean
isHeader()
boolean
isInSpan()
Table.Cell
setAttribute(java.lang.String name, java.lang.String value)
Table.Cell
setColSpan(int colSpan)
Table.Cell
setHeader(boolean header)
Table.Cell
setRowSpan(int rowSpan)
Table.Cell
setText(java.lang.CharSequence text)
void
toHtml(java.io.Writer out)
-
-
-
Method Detail
-
getRow
public Table.Row getRow()
-
getCol
public Table.Column getCol()
-
getSpanSource
public Table.Cell getSpanSource()
-
getText
public java.lang.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(java.lang.CharSequence text)
-
isHeader
public boolean isHeader()
-
setHeader
public Table.Cell setHeader(boolean header)
-
getAttribute
public java.lang.String getAttribute(java.lang.String name)
-
setAttribute
public Table.Cell setAttribute(java.lang.String name, java.lang.String value)
-
clearAttributes
public Table.Cell clearAttributes()
-
getAttributes
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
toHtml
public void toHtml(java.io.Writer out) throws java.io.IOException
- Throws:
java.io.IOException
-
-