All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
| Modifier and Type |
Method and Description |
ColumnEntryModel |
addColumnAt(ColumnEntryModel columnEntry)
Creates a new column and adds it before the given one.
|
protected void |
addDataParamEditor(ItemEditorZKComponent editor,
String qualifier,
String name,
String dataTypeCode,
Object value,
boolean isLocked) |
protected void |
addDataParamEditors(ItemEditorZKComponent editor,
Class dataModelClass,
AxisEntryModel axis) |
protected void |
addDataParamEditors(ItemEditorZKComponent editor,
Class dataModelClass,
CellEntryModel cell) |
protected void |
addDataParamEditors(ItemEditorZKComponent editor,
List<ParameterDescriptor> params,
Map<String,Object> values,
ParameterDescriptor.Scope scope,
boolean isLocked) |
protected void |
addGlobalDataParamEditors(ItemEditorZKComponent editor,
TableBlockModel table) |
protected void |
addLockedAttribute(ItemEditorZKComponent editor,
ItemEditorConfiguration config,
AxisEntryModel entry) |
protected void |
addLockedAttribute(ItemEditorZKComponent editor,
ItemEditorConfiguration config,
CellEntryModel entry) |
RowEntryModel |
addRowAt(RowEntryModel rowEntry)
Creates a new row and adds it before the given one.
|
protected Map<String,Object> |
collectAxisDataParams(ItemEditorZKComponent editor,
Class dataModelClass) |
protected Map<String,Object> |
collectCellDataParams(ItemEditorZKComponent editor,
Class dataModelClass) |
protected Map<String,Object> |
collectDataParams(ItemEditorZKComponent editor,
List<ParameterDescriptor> pds) |
protected ItemEditorZKComponent |
createCellEntryEditor(CellEntryModel cellEntry) |
protected ItemEditorZKComponent |
createColumnEntryEditor(ColumnEntryModel columnEntry) |
protected ItemEditorZKComponent |
createEditor(ItemModel item) |
protected ItemEditorZKComponent |
createMultiCellEntryEditor(List<CellEntryModel> cellEntries) |
protected ItemEditorZKComponent |
createMultiColumnEntryEditor(List<ColumnEntryModel> columnEntries) |
protected ItemEditorZKComponent |
createMultiRowEntryEditor(List<RowEntryModel> rowEntries) |
protected ItemEditorZKComponent |
createRowEntryEditor(RowEntryModel rowEntry) |
protected ItemEditorZKComponent |
createTableEditor(TableBlockModel table) |
protected boolean |
dataResolverMatch(Class resolverClass,
Class rowDataType,
Class colDataType) |
void |
deleteColumn(ColumnEntryModel columnEntry)
Deletes given column.
|
void |
deleteRow(RowEntryModel rowEntry)
Deletes given row.
|
Object |
exportData(Component component) |
protected List<Class> |
filterDataResolvers(List<Class> resolvers,
CellEntryModel cell) |
protected List<Class> |
filterDataResolvers(List<Class> resolvers,
Class rowDataType,
Class colDataType) |
protected Class |
findMatchingCellResolver(Class rowDataProviderClass,
Class columnDataProviderClass) |
AxisEntryService |
getAxisEntryService() |
CellEntryService |
getCellEntryService() |
ItemEditorZKComponent |
getEditor() |
String |
getHTMLPreview()
Generates HTML preview of the table.
|
static PrintTableController |
getInstance() |
DataTransferLocation |
getLocation(Component targetComponent) |
Component |
getMainComponent() |
ModelHelper |
getModelHelper() |
Iframe |
getPreviewComponent() |
TableBlockModel |
getTable() |
protected TableBlockModel |
getTableFromContext(CreateEvent event) |
TableGridZKComponent |
getTableGridComponent() |
TableGridModel |
getTableGridModel() |
TableService |
getTableService() |
protected TransferHandler |
getTransferHandler() |
TypeService |
getTypeService() |
UIAccessRightService |
getUiAccessRightService() |
void |
itemsDropped(AxisEntryModel axisEntry,
Collection<TypedObject> itemColl,
int index)
Handles item drop on the row/column.
|
void |
itemsDropped(CellEntryModel cellEntry,
Collection<ItemModel> itemColl,
int index)
Handles item drop on the cell.
|
void |
itemsDropped(TableBlockModel table,
Collection<TypedObject> itemColl,
int index)
Handles item drop on the table.
|
protected void |
loadEditor() |
void |
loadEditor(boolean syncmodel) |
void |
moveColumn(ColumnEntryModel moveFrom,
ColumnEntryModel moveTo)
Moves the first column in the position of the second one.
|
void |
moveRow(RowEntryModel moveFrom,
RowEntryModel moveTo)
Moves the first row in the position of the second one.
|
void |
reloadTable() |
protected void |
removeDataParamEditors(ItemEditorZKComponent editor) |
void |
removeEditor()
Removes the current editor.
|
protected void |
saveDataParams(ItemEditorZKComponent editor,
CellEntryModel entry) |
protected void |
saveDataParams(ItemEditorZKComponent editor,
TableBlockModel table,
AxisEntryModel entry) |
void |
saveEditor() |
void |
saveEditor(boolean syncmodel) |
protected void |
saveGlobalDataParams(ItemEditorZKComponent editor,
TableBlockModel table) |
void |
saveTable()
Deprecated.
|
void |
saveTable(boolean saveEditor) |
void |
saveTableAs() |
void |
setAndReloadTableWithPk(PK tablePk) |
void |
setAxisEntryService(AxisEntryService axisEntryService) |
void |
setCellEntryService(CellEntryService cellEntryService) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
protected void |
setDataProvider(TableBlockModel table,
AxisEntryModel entry,
Class dataProviderClass,
Map<String,Object> values) |
protected void |
setDataResolver(TableBlockModel table,
CellEntryModel entry,
Class dataResolverClass,
Map<String,Object> values) |
void |
setEditor(ItemEditorZKComponent editor)
Sets new editor.
|
void |
setTable(TableBlockModel table) |
protected void |
setTableData(TableBlockModel table,
Map<String,Object> values) |
void |
setTableGridComponent(TableGridZKComponent tableGrid) |
void |
setTableGridModel(TableGridModel tableGridModel) |
void |
setTableService(TableService tableService) |
void |
setTypeService(TypeService typeService) |
protected void |
setupDataTypeDropdown(ItemEditorZKComponent editor,
ItemEditorConfiguration config,
AxisEntryModel entry) |
protected void |
setupDataTypeDropdown(ItemEditorZKComponent editor,
ItemEditorConfiguration config,
CellEntryModel entry) |
void |
syncModel(boolean light)
Synchronizes the model with the zk GUI elements.
|
protected boolean |
tableMustBeLoaded(PK pk,
long openedTS) |
protected void |
updateCellResolver(Class rowDataProviderClass,
Class columnDataProviderClass,
TableBlockModel table,
CellEntryModel cellEntry) |
protected void |
updateCellResolver(TableBlockModel table,
RowEntryModel rowEntry,
Class rowDataProviderClass,
ColumnEntryModel columnEntry,
Class columnDataproviderClass) |
protected void |
updateCellResolvers(TableBlockModel table,
AxisEntryModel entry) |
protected void |
updateCellResolvers(TableBlockModel table,
ColumnEntryModel columnEntry) |
protected void |
updateCellResolvers(TableBlockModel table,
RowEntryModel rowEntry) |
void |
updatePreview()
Updates the HTML preview of the table.
|
void |
viewCreated(CreateEvent event)
Called after ZK view has been created completely.
|