java.lang.Object | |||||
↳ | com.google.gwt.user.client.ui.UIObject | ||||
↳ | com.google.gwt.user.client.ui.Widget | ||||
↳ | com.google.gwt.user.client.ui.Panel | ||||
↳ | com.google.gwt.user.client.ui.HTMLTable | ||||
↳ | com.google.gwt.user.client.ui.FlexTable |
A flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FlexTable.FlexCellFormatter | FlexTable-specific implementation of HTMLTable.CellFormatter . |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appends a cell to the specified row.
| |||||||||||
Gets the number of cells on a given row.
| |||||||||||
Explicitly gets the
FlexTable.FlexCellFormatter . | |||||||||||
Gets the number of rows.
| |||||||||||
Inserts a cell into the FlexTable.
| |||||||||||
Inserts a row into the FlexTable.
| |||||||||||
Remove all rows in this table.
| |||||||||||
Removes the specified cell from the table.
| |||||||||||
Removes a number of cells from a row in the table.
| |||||||||||
Removes the specified row from the table.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Ensure that the cell exists.
| |||||||||||
Ensure that the row exists.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.HTMLTable
| |||||||||||
From class
com.google.gwt.user.client.ui.Panel
| |||||||||||
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.event.dom.client.HasClickHandlers
| |||||||||||
From interface
com.google.gwt.event.dom.client.HasDoubleClickHandlers
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasWidgets
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
| |||||||||||
From interface
com.google.gwt.user.client.ui.SourcesTableEvents
| |||||||||||
From interface
java.lang.Iterable
|
Appends a cell to the specified row.
row | the row to which the new cell will be added |
---|
IndexOutOfBoundsException |
---|
Gets the number of cells on a given row.
row | the row whose cells are to be counted |
---|
IndexOutOfBoundsException |
---|
Explicitly gets the FlexTable.FlexCellFormatter
. The results of
getCellFormatter()
may also be downcast to a
FlexTable.FlexCellFormatter
.
Gets the number of rows.
Inserts a cell into the FlexTable.
beforeRow | the cell's row |
---|---|
beforeColumn | the cell's column |
Inserts a row into the FlexTable.
beforeRow | the row to insert |
---|
Remove all rows in this table.
Removes the specified cell from the table.
row | the row of the cell to remove |
---|---|
col | the column of cell to remove |
Removes a number of cells from a row in the table.
row | the row of the cells to be removed |
---|---|
column | the column of the first cell to be removed |
num | the number of cells to be removed |
IndexOutOfBoundsException |
---|
Removes the specified row from the table.
row | the index of the row to be removed |
---|
Ensure that the cell exists.
row | the row to prepare. |
---|---|
column | the column to prepare. |
IndexOutOfBoundsException | if the row is negative |
---|
Ensure that the row exists.
row | The row to prepare. |
---|
IndexOutOfBoundsException | if the row is negative |
---|