Class SectionDefinitionComponent
- java.lang.Object
-
- com._1c.g5.aef2.components.Component<M,P>
-
- com._1c.g5.aef2.standard.components.StandardComponent<M,P>
-
- com._1c.g5.aef2.standard.components.ContainerComponent<M,P>
-
- com._1c.g5.aef2.standard.components.CompositeComponent<M,P>
-
- com._1c.g5.aef2.standard.definitions.components.DefinitionDrivenComponent<IDefinitionModel,ISectionDefinitionParameterization>
-
- com._1c.g5.aef2.standard.definitions.components.SectionDefinitionComponent
-
- All Implemented Interfaces:
IComponent<IDefinitionModel>
,IEventChannel
,ComponentSearch.IIdentifierHost
public class SectionDefinitionComponent extends DefinitionDrivenComponent<IDefinitionModel,ISectionDefinitionParameterization>
Section definition component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description SectionDefinitionComponent(ISectionDefinitionParameterization parameterization)
Creates a new section definition component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IContainerViewModel
createContainerViewModel()
Creates the view model of the container.protected String
getLabel(ILabeledDefinition definition)
Returns the label obtained from definition.-
Methods inherited from class com._1c.g5.aef2.standard.definitions.components.DefinitionDrivenComponent
attachToModel, createComponents, createFieldComponent, detachFromModel, disposeComponents, getComponent, getId, getLayout, getLayoutData, getRuleResultProcessor, handleRuleResultChanged
-
Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponent
setLayout, setLayoutData, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, beginExternalUpdate, checkComponents, checkViewModels, commit, dispose, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEvents
-
-
-
-
Constructor Detail
-
SectionDefinitionComponent
public SectionDefinitionComponent(ISectionDefinitionParameterization parameterization)
Creates a new section definition component.- Parameters:
parameterization
- the parameterization.
-
-
Method Detail
-
createContainerViewModel
protected IContainerViewModel createContainerViewModel()
Description copied from class:ContainerComponent
Creates the view model of the container.- Overrides:
createContainerViewModel
in classCompositeComponent<IDefinitionModel,ISectionDefinitionParameterization>
- Returns:
- the newly created container view model.
-
getLabel
protected String getLabel(ILabeledDefinition definition)
Description copied from class:DefinitionDrivenComponent
Returns the label obtained from definition.- Overrides:
getLabel
in classDefinitionDrivenComponent<IDefinitionModel,ISectionDefinitionParameterization>
- Parameters:
definition
- theILabeledDefinition
.- Returns:
- the label.
-
-