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
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 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)-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler
compileControl, compileStandardField, findSubModelQuery, getControlSrcProperty, initLabel
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.FieldCompiler
compileDependencies, compileField, getSrcProperty
-
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 Object compileDefValues(S source, CompileProcessor p)
Description copied from class:StandardFieldCompilerСборка значения по умолчанию у поля- Overrides:
compileDefValuesin classStandardFieldCompiler<T extends ListControl,S extends N2oListField>- Parameters:
source- Исходная модель поляp- Процессор сборки- Returns:
- Значение по умолчанию поля
-
compileFetchDependencies
protected StandardField<T> compileFetchDependencies(StandardField<T> field, S source, CompileProcessor p)
-
-