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.CellappendText(char[] ch, int offset, int len)Table.CellclearAttributes()java.lang.StringgetAttribute(java.lang.String name)java.util.Map<java.lang.String,java.lang.String>getAttributes()Table.ColumngetCol()intgetColSpan()doublegetDoubleValue()intgetIntValue()Table.RowgetRow()intgetRowSpan()Table.CellgetSpanSource()java.lang.StringgetText()booleanisHeader()booleanisInSpan()Table.CellsetAttribute(java.lang.String name, java.lang.String value)Table.CellsetColSpan(int colSpan)Table.CellsetHeader(boolean header)Table.CellsetRowSpan(int rowSpan)Table.CellsetText(java.lang.CharSequence text)voidtoHtml(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
-
-