Class TypeDescriptionDialogComponent
- 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<M,P>
-
- com._1c.g5.aef2.standard.components.DialogComponent<ITypeDescriptionDialogModel,IDialogParametrization>
-
- com._1c.g5.v8.dt.md.ui.aef.components.type.TypeDescriptionDialogComponent
-
- All Implemented Interfaces:
IComponent<ITypeDescriptionDialogModel>
,IEventChannel
,ComponentSearch.IIdentifierHost
public class TypeDescriptionDialogComponent extends DialogComponent<ITypeDescriptionDialogModel,IDialogParametrization> implements ComponentSearch.IIdentifierHost
The dialog component forTypeDescription
. It is the companion forTypeDescriptionComponent
.- See Also:
TypeDescriptionComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description TypeDescriptionDialogComponent()
Creates a newTypeDescriptionDialogComponent
.TypeDescriptionDialogComponent(IDialogParametrization parametrization)
Creates a newTypeDescriptionDialogComponent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
attachToModel()
Attaches this component to the model.protected void
createComponents()
Creates the child components of this component.protected void
detachFromModel()
Detaches this component from the model.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 applicable-
Methods inherited from class com._1c.g5.aef2.standard.components.DialogComponent
addListener, createContainerViewModel, disposeViewModels, getViewModel, setChildActive
-
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, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatus
-
Methods inherited from class com._1c.g5.aef2.components.Component
addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, beginExternalUpdate, checkComponents, checkViewModels, commit, dispose, 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
-
TypeDescriptionDialogComponent
public TypeDescriptionDialogComponent()
Creates a newTypeDescriptionDialogComponent
.
-
TypeDescriptionDialogComponent
public TypeDescriptionDialogComponent(IDialogParametrization parametrization)
Creates a newTypeDescriptionDialogComponent
.- Parameters:
parametrization
- the parametrization, cannot benull
-
-
Method Detail
-
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
-
attachToModel
protected void attachToModel()
Description copied from class:Component
Attaches this component to the model. Override it to add some listeners to the model.- Overrides:
attachToModel
in classComponent<ITypeDescriptionDialogModel,IDialogParametrization>
-
detachFromModel
protected void detachFromModel()
Description copied from class:Component
Detaches this component from the model. Override it to remove listeners from the model.- Overrides:
detachFromModel
in classComponent<ITypeDescriptionDialogModel,IDialogParametrization>
-
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<ITypeDescriptionDialogModel,IDialogParametrization>
-
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<ITypeDescriptionDialogModel,IDialogParametrization>
-
-