Class ExtendedFieldComponent
- 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<IValue<MdPropertyState>,ILabeledParametrization>
-
- com._1c.g5.v8.dt.md.ui.extension.aef.components.ExtendedFieldComponent
-
- All Implemented Interfaces:
IComponent<IValue<MdPropertyState>>
,IEventChannel
public class ExtendedFieldComponent extends ContainerComponent<IValue<MdPropertyState>,ILabeledParametrization>
Extended field component that showsExtendedLabelComponent
instead of original simple 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 ExtendedFieldComponent(ILabeledParametrization parametrization, MdPropertyType type)
Instantiates a new field component.ExtendedFieldComponent(ILabeledParametrization parametrization, List<MdPropertyType> types)
Instantiates a new field component.ExtendedFieldComponent(String labelText, MdPropertyType type)
Instantiates a new field component.ExtendedFieldComponent(String labelText, List<MdPropertyType> types)
Instantiates a new field component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createComponents()
Creates the child components of this component.protected IContainerViewModel
createContainerViewModel()
Creates the view model of the container.-
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, updateViewModels
-
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addListener, 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
-
ExtendedFieldComponent
public ExtendedFieldComponent(ILabeledParametrization parametrization, MdPropertyType type)
Instantiates a new field component.- Parameters:
parametrization
- the parameterization of the component, cannot benull
types
- the metadata properties type to change state for, cannot benull
-
ExtendedFieldComponent
public ExtendedFieldComponent(ILabeledParametrization parametrization, List<MdPropertyType> types)
Instantiates a new field component.- Parameters:
parametrization
- the parametrization of the component, cannot benull
types
- the metadata properties type to change state for, cannot benull
-
ExtendedFieldComponent
public ExtendedFieldComponent(String labelText, MdPropertyType type)
Instantiates a new field component.- Parameters:
labelText
- the label text, cannot benull
type
- the metadata property type to change state for, cannot benull
-
ExtendedFieldComponent
public ExtendedFieldComponent(String labelText, List<MdPropertyType> types)
Instantiates a new field component.- Parameters:
labelText
- the label text, cannot benull
types
- the metadata properties type to change state for, cannot benull
-
-
Method Detail
-
createComponents
protected void createComponents()
Description copied from class:Component
Creates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponents
in classComponent<IValue<MdPropertyState>,ILabeledParametrization>
-
createContainerViewModel
protected IContainerViewModel createContainerViewModel()
Description copied from class:ContainerComponent
Creates the view model of the container.- Overrides:
createContainerViewModel
in classContainerComponent<IValue<MdPropertyState>,ILabeledParametrization>
- Returns:
- the newly created container view model.
-
-