Class FieldComponent
- 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<IModel,ILabeledParametrization>
- 
- com._1c.g5.aef2.standard.components.FieldComponent
 
 
 
 
- 
- All Implemented Interfaces:
- IComponent<IModel>,- IEventChannel
 
 public class FieldComponent extends ContainerComponent<IModel,ILabeledParametrization> The field component with the label on the left and actual control on the right.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
 
- 
 - 
Constructor SummaryConstructors Constructor Description FieldComponent(ILabeledParametrization parametrization)Instantiates a new field component.FieldComponent(String labelText)Instantiates a new field component.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateComponents()Creates the child components of this component.protected IContainerViewModelcreateContainerViewModel()Creates the view model of the container.- 
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponentaddComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text, updateViewModels
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatus
 - 
Methods inherited from class com._1c.g5.aef2.components.ComponentaddListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, 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- 
FieldComponentpublic FieldComponent(ILabeledParametrization parametrization) Instantiates a new field component.- Parameters:
- parametrization- the parametrization of the component.
 
 - 
FieldComponentpublic FieldComponent(String labelText) Instantiates a new field component.- Parameters:
- labelText- the label text.
 
 
- 
 - 
Method Detail- 
createComponentsprotected void createComponents() Description copied from class:ComponentCreates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times. - Overrides:
- createComponentsin class- Component<IModel,ILabeledParametrization>
 
 - 
createContainerViewModelprotected IContainerViewModel createContainerViewModel() Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
- createContainerViewModelin class- ContainerComponent<IModel,ILabeledParametrization>
- Returns:
- the newly created container view model.
 
 
- 
 
-