@API(type=INTERNAL,
src=PUBLIC)
public abstract class TableCustomizer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected TableInfo |
tableInfo
The last table info specified by the user.
|
Constructor and Description |
---|
TableCustomizer() |
Modifier and Type | Method and Description |
---|---|
TableInfo |
customizeTable(AuthorAccess authorAccess)
Customize a table.
|
TableInfo |
customizeTable(AuthorAccess authorAccess,
int predefinedRowsCount,
int predefinedColumnsCount)
Customize a table.
|
protected abstract TableInfo |
showCustomizeTableDialog(AuthorAccess authorAccess,
int predefinedRowsCount,
int predefinedColumnsCount)
Show table customizer dialog and return new table information.
|
protected TableInfo tableInfo
public TableInfo customizeTable(AuthorAccess authorAccess)
authorAccess
- Access to Author operations.null
if customization operation is canceled.public TableInfo customizeTable(AuthorAccess authorAccess, int predefinedRowsCount, int predefinedColumnsCount)
authorAccess
- Access to Author operations.predefinedRowsCount
- The predefined number of rows, -1
if the user can control the number of inserted column.predefinedColumnsCount
- The predefined number of columns, -1
if the user can control the number of inserted column.
If predefined columns count and predefined rows count values are positive
then the dialog will not contain any field for defining the table columns
and rows count and the inserted table will use the predefined values.null
if customization operation is canceled.protected abstract TableInfo showCustomizeTableDialog(AuthorAccess authorAccess, int predefinedRowsCount, int predefinedColumnsCount)
authorAccess
- The Author access.predefinedRowsCount
- Predefined number of rows.predefinedColumnsCount
- Predefined number of columns.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.