java.lang.Object
net.n2oapp.framework.config.metadata.compile.widget.BaseWidgetCompiler<D,S>
net.n2oapp.framework.config.metadata.compile.widget.BaseListWidgetCompiler<D,S>
net.n2oapp.framework.config.metadata.compile.widget.TableCompiler<D,S>
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<D,,S, CompileContext<?, ?>> BaseSourceCompiler<D,S, CompileContext<?, ?>>
@Component
public class TableCompiler<D extends Table<?>,S extends N2oTable>
extends BaseListWidgetCompiler<D,S>
Компиляция таблицы
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(S source, CompileContext<?, ?> context, CompileProcessor p) protected RowOverlaycompileRowOverlay(N2oAbstractListWidget source, CompileContext<?, ?> context, CompileProcessor p, WidgetScope widgetScope, PageIndexScope indexScope) Компиляция поведения при наведении на строкуprotected DМетод для создания экземпляра клиентской модели таблицы, должен быть переопределен в подклассахgetColumnsTableSetting(ToolbarItem toolbarItem) protected Stringprotected voidinitInlineFiltersDatasource(Table<?> compiled, N2oTable source, CompileProcessor p) Инициализация встроенного источника данныхMethods inherited from class net.n2oapp.framework.config.metadata.compile.widget.BaseListWidgetCompiler
compilePaging, compileRowClickMethods inherited from class net.n2oapp.framework.config.metadata.compile.widget.BaseWidgetCompiler
addParamRoutes, compileBaseWidget, compileToolbarAndAction, getDatasourceById, getObject, getQuery, initDatasource, initFieldSets, initFieldSetScope
-
Constructor Details
-
TableCompiler
public TableCompiler()
-
-
Method Details
-
getSourceClass
-
getPropertyWidgetSrc
- Specified by:
getPropertyWidgetSrcin classBaseWidgetCompiler<D extends Table<?>,S extends N2oTable>
-
compile
-
constructTable
Метод для создания экземпляра клиентской модели таблицы, должен быть переопределен в подклассах -
initInlineFiltersDatasource
Инициализация встроенного источника данных -
compileRowOverlay
protected RowOverlay compileRowOverlay(N2oAbstractListWidget source, CompileContext<?, ?> context, CompileProcessor p, WidgetScope widgetScope, PageIndexScope indexScope) Компиляция поведения при наведении на строку -
getColumnsTableSetting
-