Class ExtendedTypeDescriptionComponent
- 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<ITypeDescriptionModel,IDtActionBarWithSelectionParameterization>
-
- com._1c.g5.v8.dt.md.ui.aef.components.type.TypeDescriptionComponent
-
- com._1c.g5.v8.dt.md.ui.extension.aef.components.ExtendedTypeDescriptionComponent
-
- All Implemented Interfaces:
IComponent<ITypeDescriptionModel>
,IEventChannel
,ComponentSearch.IIdentifierHost
public class ExtendedTypeDescriptionComponent extends TypeDescriptionComponent
Extended type description component that shows lable and allows to change metadata property state.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description ExtendedTypeDescriptionComponent(IValue<MdPropertyState> propertyStateModel)
Constructor ofExtendedTypeDescriptionComponent
.ExtendedTypeDescriptionComponent(IValue<MdPropertyState> propertyStateModel, List<MdPropertyType> types)
Constructor ofExtendedTypeDescriptionComponent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContainerComponent<?,?>
createLabelField(String labelText)
Creates label field component for the provided label text.void
dispose()
Disposes this component, its view models and its child components.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.aef.components.type.TypeDescriptionComponent
createComponents, disposeComponents, getComponent, getId, setShowQualifiers
-
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createContainerViewModel, 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, 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
-
ExtendedTypeDescriptionComponent
public ExtendedTypeDescriptionComponent(IValue<MdPropertyState> propertyStateModel)
Constructor ofExtendedTypeDescriptionComponent
.- Parameters:
propertyStateModel
- the model value of the internal property state field component, cannot benull
-
ExtendedTypeDescriptionComponent
public ExtendedTypeDescriptionComponent(IValue<MdPropertyState> propertyStateModel, List<MdPropertyType> types)
Constructor ofExtendedTypeDescriptionComponent
.- Parameters:
propertyStateModel
- the model value of the internal property state field component, cannot benull
types
- the metadata properties type to change state for, cannot benull
-
-
Method Detail
-
createLabelField
protected ContainerComponent<?,?> createLabelField(String labelText)
Description copied from class:TypeDescriptionComponent
Creates label field component for the provided label text.- Overrides:
createLabelField
in classTypeDescriptionComponent
- Parameters:
labelText
- the label text, cannot benull
- Returns:
- the created label field component, never
null
-
dispose
public void dispose()
Description copied from interface:IComponent
Disposes this component, its view models and its child components.- Specified by:
dispose
in interfaceIComponent<ITypeDescriptionModel>
- Overrides:
dispose
in classTypeDescriptionComponent
-
-