Class AbstractDtComboSelectComponent<T,M extends IValue<T>,P extends IComboSelectParameterization>
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.AbstractControlComponent<M,P,VM>
com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent<M,P,ComboSelectViewModel>
com._1c.g5.v8.dt.ui.aef.component.AbstractDtComboSelectComponent<T,M,P>
- Type Parameters:
M- the aef model type based onIValue.T- the editing model type.P- the paramterization object type.
- All Implemented Interfaces:
IComponent<M>,IEventChannel
- Direct Known Subclasses:
BooleanComboComponent,CharacteristicsDescriptionDataPathComboComponent,CharacteristicsDescriptionFieldComboComponent,EnumComponent,GroupListComponent,TableNameSelectionComponent,TableNameValueSelectionComponent,UserSettingsGroupComponent,WebServerTypeSelectComponent
public abstract class AbstractDtComboSelectComponent<T,M extends IValue<T>,P extends IComboSelectParameterization>
extends AbstractDtSelectComponent<M,P,ComboSelectViewModel>
Abstract implementation of the component for manipulating with the model as
with the selectable from DT combo value.
Also it allows to specify the collection of the buttons that will be added at the action bar placed near the combo.
Also it allows to specify the collection of the buttons that will be added at the action bar placed near the combo.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Field Summary
Fields inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
CLEAR_BUTTON_COMMAND_ID, DEFAULT_CONTEXT, OPEN_BUTTON_COMMAND_ID, SELECT_BUTTON_COMMAND_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ComboSelectViewModelCreates control view model instance.protected abstract IMapper<T,ComboItemViewModel> Creates aIMapperinstance that maps the model objects to the combo item view model objects.protected abstract Collection<T>Returns a collection of the model items that be available at the combo.Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createButtons, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels, dispose, handleButtonClickedMethods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatusMethods inherited from class com._1c.g5.aef2.components.Component
addComponent, addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, attachToModel, beginExternalUpdate, checkComponents, checkViewModels, commit, createComponents, detachFromModel, 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
-
AbstractDtComboSelectComponent
- Parameters:
parameterization-
-
-
Method Details
-
createControlViewModel
Description copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
createControlViewModelin classAbstractControlComponent<M extends IValue<T>,P extends IComboSelectParameterization, ComboSelectViewModel> - Returns:
- a newly created control view model.
-
createMapper
Creates aIMapperinstance that maps the model objects to the combo item view model objects.- Returns:
- the
IMapper
-
getComboItems
Returns a collection of the model items that be available at the combo.- Returns:
- the collection of the objects.
-