Class ListControlCompiler<T extends ListControl,S extends N2oListField>
- java.lang.Object
-
- net.n2oapp.framework.config.metadata.compile.ComponentCompiler<D,S>
-
- net.n2oapp.framework.config.metadata.compile.control.FieldCompiler<StandardField<D>,S>
-
- net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler<T,S>
-
- net.n2oapp.framework.config.metadata.compile.control.ListControlCompiler<T,S>
-
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<StandardField<T>,S,CompileContext<?,?>>,BaseSourceCompiler<StandardField<T>,S,CompileContext<?,?>>
- Direct Known Subclasses:
CheckboxGroupCompiler,InputSelectCompiler,InputSelectTreeCompiler,PillsCompiler,RadioGroupCompiler,SelectCompiler,SliderCompiler
public abstract class ListControlCompiler<T extends ListControl,S extends N2oListField> extends StandardFieldCompiler<T,S>
-
-
Constructor Summary
Constructors Constructor Description ListControlCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectcompileDefValues(S source, CompileProcessor p)Сборка значения по умолчанию у поляprotected StandardField<T>compileFetchDependencies(StandardField<T> field, S source, CompileProcessor p)protected StandardField<T>compileListControl(T listControl, S source, CompileContext<?,?> context, CompileProcessor p)protected voidcompileParams(StandardField<T> control, S source, WidgetParamScope paramScope, UploadScope uploadScope, CompileProcessor p)Сборка значений по умолчанию у поля из параметров заданных-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler
compileControl, compileStandardField, getControlSrcProperty, initLabel
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.FieldCompiler
compileCopied, compileDefaultValues, compileDependencies, compileField, compileFilters, findSubModelQuery, getSrcProperty, initValidations
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.ComponentCompiler
compileComponent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.SourceClassAware
getSourceClass
-
Methods inherited from interface net.n2oapp.framework.api.metadata.compile.SourceCompiler
compile
-
-
-
-
Method Detail
-
compileListControl
protected StandardField<T> compileListControl(T listControl, S source, CompileContext<?,?> context, CompileProcessor p)
-
compileDefValues
protected java.lang.Object compileDefValues(S source, CompileProcessor p)
Description copied from class:FieldCompilerСборка значения по умолчанию у поля- Overrides:
compileDefValuesin classFieldCompiler<StandardField<T extends ListControl>,S extends N2oListField>- Parameters:
source- Исходная модель поляp- Процессор сборки- Returns:
- Значение по умолчанию поля
-
compileParams
protected void compileParams(StandardField<T> control, S source, WidgetParamScope paramScope, UploadScope uploadScope, CompileProcessor p)
Description copied from class:FieldCompilerСборка значений по умолчанию у поля из параметров заданных- Overrides:
compileParamsin classFieldCompiler<StandardField<T extends ListControl>,S extends N2oListField>source- Исходная модель поляp- Процессор сборки
-
compileFetchDependencies
protected StandardField<T> compileFetchDependencies(StandardField<T> field, S source, CompileProcessor p)
-
-