public final class TableAreaCell extends Object
Provides a table area cell.
Constructor and Description |
---|
TableAreaCell(TextArea textArea,
int row,
int column)
Initializes a new instance of the
TableAreaCell class. |
TableAreaCell(TextArea textArea,
int row,
int column,
int rowSpan,
int columnSpan)
Initializes a new instance of the
TableArea class. |
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Gets a zero-based index of the column.
|
int |
getColumnSpan()
Gets a number of columns which the cell spans across.
|
int |
getRow()
Gets a zero-based index of the row.
|
int |
getRowSpan()
Gets a number of rows which the cell spans across.
|
TextArea |
getTextArea()
Gets a content of the cell.
|
public TableAreaCell(TextArea textArea, int row, int column)
Initializes a new instance of the TableAreaCell
class.
textArea
- A content of the cell.row
- A zero-based index of the row.column
- A zero-based index of the column.public TableAreaCell(TextArea textArea, int row, int column, int rowSpan, int columnSpan)
Initializes a new instance of the TableArea
class.
textArea
- A content of the cell.row
- A zero-based index of the row.column
- A zero-based index of the column.rowSpan
- A number of rows which the cell spans across.columnSpan
- A number of columns which the cell spans across.public TextArea getTextArea()
Gets a content of the cell.
TextArea
that represents a content of the cell.public int getRow()
Gets a zero-based index of the row.
public int getColumn()
Gets a zero-based index of the column.
public int getRowSpan()
Gets a number of rows which the cell spans across.
public int getColumnSpan()
Gets a number of columns which the cell spans across.
Copyright © 2019. All rights reserved.