de.matthiasmann.twl.textarea
Class TextAreaModel.TableElement

java.lang.Object
  extended by de.matthiasmann.twl.textarea.TextAreaModel.Element
      extended by de.matthiasmann.twl.textarea.TextAreaModel.TableElement
Enclosing interface:
TextAreaModel

public static class TextAreaModel.TableElement
extends TextAreaModel.Element


Constructor Summary
TextAreaModel.TableElement(Style style, int numColumns, int numRows, int cellSpacing, int cellPadding)
           
 
Method Summary
 TextAreaModel.TableCellElement getCell(int row, int column)
           
 int getCellPadding()
           
 int getCellSpacing()
           
 int getNumColumns()
           
 int getNumRows()
           
 Style getRowStyle(int row)
           
 void setCell(int row, int column, TextAreaModel.TableCellElement cell)
           
 void setRowStyle(int row, Style style)
           
 
Methods inherited from class de.matthiasmann.twl.textarea.TextAreaModel.Element
getStyle, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaModel.TableElement

public TextAreaModel.TableElement(Style style,
                                  int numColumns,
                                  int numRows,
                                  int cellSpacing,
                                  int cellPadding)
Method Detail

getNumColumns

public int getNumColumns()

getNumRows

public int getNumRows()

getCellPadding

public int getCellPadding()

getCellSpacing

public int getCellSpacing()

getCell

public TextAreaModel.TableCellElement getCell(int row,
                                              int column)

getRowStyle

public Style getRowStyle(int row)

setCell

public void setCell(int row,
                    int column,
                    TextAreaModel.TableCellElement cell)

setRowStyle

public void setRowStyle(int row,
                        Style style)