public class FlexTableUtil extends Object
FlexTables
.Constructor and Description |
---|
FlexTableUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
copyRow(com.google.gwt.user.client.ui.FlexTable sourceTable,
com.google.gwt.user.client.ui.FlexTable targetTable,
int sourceRow,
int targetRow)
Copy an entire FlexTable from one FlexTable to another.
|
static void |
moveRow(com.google.gwt.user.client.ui.FlexTable sourceTable,
com.google.gwt.user.client.ui.FlexTable targetTable,
int sourceRow,
int targetRow)
Move an entire FlexTable from one FlexTable to another.
|
public static void copyRow(com.google.gwt.user.client.ui.FlexTable sourceTable, com.google.gwt.user.client.ui.FlexTable targetTable, int sourceRow, int targetRow)
HTML
widget by calling
HTMLTable.getHTML(int, int)
on the source table.sourceTable
- the FlexTable to copy a row fromtargetTable
- the FlexTable to copy a row tosourceRow
- the index of the source rowtargetRow
- the index before which to insert the copied rowpublic static void moveRow(com.google.gwt.user.client.ui.FlexTable sourceTable, com.google.gwt.user.client.ui.FlexTable targetTable, int sourceRow, int targetRow)
HTMLTable.getWidget(int, int)
on the source
table. If no widget is found (because null
is returned), a
new HTML
is created instead by calling
HTMLTable.getHTML(int, int)
on the source table.sourceTable
- the FlexTable to move a row fromtargetTable
- the FlexTable to move a row tosourceRow
- the index of the source rowtargetRow
- the index before which to insert the moved rowCopyright © 2014. All Rights Reserved.