com.day.cq.wcm.foundation
Class Table.Cell

java.lang.Object
  extended by com.day.cq.wcm.foundation.Table.Cell
Enclosing class:
Table

public static class Table.Cell
extends Object


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

getAttribute

public String getAttribute(String name)

setAttribute

public Table.Cell setAttribute(String name,
                               String value)

clearAttributes

public Table.Cell clearAttributes()

getAttributes

public Map<String,String> getAttributes()

toHtml

public void toHtml(Writer out)
            throws IOException
Throws:
IOException


Copyright © 2008 Day Management AG. All Rights Reserved.