Class LabelComponent
- 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.AbstractControlComponent<IValue<String>,ILabeledParametrization,LabelViewModel>
-
- com._1c.g5.aef2.standard.components.LabelComponent
-
- All Implemented Interfaces:
IComponent<IValue<String>>
,IEventChannel
public class LabelComponent extends AbstractControlComponent<IValue<String>,ILabeledParametrization,LabelViewModel>
The label component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description LabelComponent(ILabeledParametrization parameterization)
Instantiates a new label component with the given parameterization.LabelComponent(String text)
Instantiates a new label component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LabelViewModel
createControlViewModel()
Creates control view model instance.-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
createViewModels, disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, dispose, disposeComponents, 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
-
LabelComponent
public LabelComponent(ILabeledParametrization parameterization)
Instantiates a new label component with the given parameterization.- Parameters:
parameterization
- the parameterization.
-
LabelComponent
public LabelComponent(String text)
Instantiates a new label component.- Parameters:
text
- the label text.
-
-
Method Detail
-
createControlViewModel
protected LabelViewModel createControlViewModel()
Description copied from class:AbstractControlComponent
Creates control view model instance.- Specified by:
createControlViewModel
in classAbstractControlComponent<IValue<String>,ILabeledParametrization,LabelViewModel>
- Returns:
- a newly created control view model.
-
-