Class DialogComponent<M extends IModel,P extends IDialogParametrization>
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<M,P>
- All Implemented Interfaces:
IComponent<M>,IEventChannel
- Direct Known Subclasses:
ChangeDistributionSettingsDialogComponent,ChangeUserModeDialogComponent,ChartAxisValueDialogComponent,ChartColorPaletteDescriptionDialogComponent,ChartReferenceBandsDialogComponent,ChartReferenceLinesDialogComponent,ChartScaleDialogComponent,ChoiceListDialogComponent,ConfigurationStandaloneContentExchangeSettingsDialogComponent,DialogWithToolbarComponent,GanttChartSettingsDialogComponent,GaugeChartQualityBandsDialogComponent,LabelAreaDialogComponent,MergeSupportRuleSettingsDialogComponent,MobileCommandBarElementsDialogComponent,PlannerDimensionsDialogComponent,RequiredPermissionsDialogComponent,SupportRuleSettingsDialogComponent,TimeScaleDialogComponent,TimeScaleLabelsDialogComponent,TrendlineArrayDialogComponent,TypeDescriptionDialogComponent,UsedMobileApplicationFunctionalitiesDialogComponent
public class DialogComponent<M extends IModel,P extends IDialogParametrization>
extends ContainerComponent<M,P>
The dialog component.
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(IEventChannelListener listener) Adds the given listener to the channel.protected IContainerViewModelCreates the view model of the container.protected voidDisposes the view models of this component.voidsetChildActive(IComponent<?> component) Given a child component, sets its first view model as the active view model of the dialog.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, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, setLayoutData, updateViewModelStatusMethods inherited from class com._1c.g5.aef2.components.Component
addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, 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 Details
-
DialogComponent
Creates a new instance.- Parameters:
parameterization- the parameterization
-
-
Method Details
-
addListener
Description copied from interface:IEventChannelAdds the given listener to the channel.- Specified by:
addListenerin interfaceIEventChannel- Overrides:
addListenerin classComponent<M extends IModel,P extends IDialogParametrization> - Parameters:
listener- the listener.
-
setChildActive
Given a child component, sets its first view model as the active view model of the dialog.- Parameters:
component- a child component whose view model will be set as active
-
getViewModel
- Returns:
- the dialog view model
-
createContainerViewModel
Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
createContainerViewModelin classContainerComponent<M extends IModel,P extends IDialogParametrization> - Returns:
- the newly created container view model.
-
disposeViewModels
protected void disposeViewModels()Description copied from class:ComponentDisposes the view models of this component. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeViewModelsin classStandardComponent<M extends IModel,P extends IDialogParametrization>
-