Class TypeDescriptionComponent
- 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
-
- All Implemented Interfaces:
IComponent<ITypeDescriptionModel>
,IEventChannel
,ComponentSearch.IIdentifierHost
- Direct Known Subclasses:
ExtendedTypeDescriptionComponent
public class TypeDescriptionComponent extends ContainerComponent<ITypeDescriptionModel,IDtActionBarWithSelectionParameterization> implements ComponentSearch.IIdentifierHost
The composite component that encapsulates business processing of theTypeDescription
model.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description TypeDescriptionComponent()
Instantiates a newTypeDescriptionComponent
.TypeDescriptionComponent(IDtActionBarWithSelectionParameterization parameterization)
Instantiates a newTypeDescriptionComponent
with the given parameterization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createComponents()
Creates the child components of this component.protected ContainerComponent<?,?>
createLabelField(String label)
Creates label field component for the provided label text.void
dispose()
Disposes this component, its view models and its child components.protected void
disposeComponents()
Disposes the child components.IComponent<?>
getComponent(Object id)
Returns a component with the specified identifier ornull
if no component with such identifier is known to the host.Object
getId(IComponent<?> component)
Returns an identifier for the specified component ornull
if not applicablevoid
setShowQualifiers(boolean showQualifiers)
Set component flag whether need to create type qualifiers sub-components.-
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
-
TypeDescriptionComponent
public TypeDescriptionComponent()
Instantiates a newTypeDescriptionComponent
.
-
TypeDescriptionComponent
public TypeDescriptionComponent(IDtActionBarWithSelectionParameterization parameterization)
Instantiates a newTypeDescriptionComponent
with the given parameterization.- Parameters:
parameterization
- the component parameterization, cannot benull
-
-
Method Detail
-
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 classComponent<ITypeDescriptionModel,IDtActionBarWithSelectionParameterization>
-
getComponent
public IComponent<?> getComponent(Object id)
Description copied from interface:ComponentSearch.IIdentifierHost
Returns a component with the specified identifier ornull
if no component with such identifier is known to the host.- Specified by:
getComponent
in interfaceComponentSearch.IIdentifierHost
- Parameters:
id
- the identifier- Returns:
- a component with the specified identifier or
null
if not found
-
getId
public Object getId(IComponent<?> component)
Description copied from interface:ComponentSearch.IIdentifierHost
Returns an identifier for the specified component ornull
if not applicable- Specified by:
getId
in interfaceComponentSearch.IIdentifierHost
- Parameters:
component
- the component to obtain the identifier for- Returns:
- an identifier for the specified component or
null
if not applicable
-
setShowQualifiers
public void setShowQualifiers(boolean showQualifiers)
Set component flag whether need to create type qualifiers sub-components. By default,showQualifiers
istrue
.- Parameters:
showQualifiers
- whether need to create type qualifiers sub-components
-
disposeComponents
protected void disposeComponents()
Description copied from class:Component
Disposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeComponents
in classComponent<ITypeDescriptionModel,IDtActionBarWithSelectionParameterization>
-
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<ITypeDescriptionModel,IDtActionBarWithSelectionParameterization>
-
createLabelField
protected ContainerComponent<?,?> createLabelField(String label)
Creates label field component for the provided label text.- Parameters:
label
- the label text, cannot benull
- Returns:
- the created label field component, never
null
-
-