Class BooleanComboComponent
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<Boolean,IValue<Boolean>,IBooleanComboParameterization>
com._1c.g5.v8.dt.ui.aef.component.BooleanComboComponent
- All Implemented Interfaces:
IComponent<IValue<Boolean>>
,IEventChannel
- Direct Known Subclasses:
SignOfUnfilledParentComponent
public class BooleanComboComponent
extends AbstractDtComboSelectComponent<Boolean,IValue<Boolean>,IBooleanComboParameterization>
The component that works with
Boolean
models as with selectable values
from DT combo. The combo contains three possible values "Yes" (true), "No" (false),
"Auto" (null).-
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
ConstructorsConstructorDescriptionBooleanComboComponent
(IBooleanComboParameterization parameterization) Creates a new component. -
Method Summary
Modifier and TypeMethodDescriptionprotected IMapper<Boolean,
ComboItemViewModel> Creates aIMapper
instance that maps the model objects to the combo item view model objects.protected Collection<Boolean>
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.AbstractDtComboSelectComponent
createControlViewModel
Methods inherited from class com._1c.g5.v8.dt.ui.aef.component.AbstractDtSelectComponent
createButtonItem, createButtons, createClearButtonItem, createOpenButtonItem, createSelectButtonItem, createViewModels, dispose, handleButtonClicked
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
disposeViewModels, getControlViewModel, handleExternalValidationEvent, isEditable, refresh, setLayoutData, updateViewModels
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, getLayoutData, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
Methods 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
-
BooleanComboComponent
Creates a new component.- Parameters:
parameterization
- the parameterization.
-
-
Method Details
-
createMapper
Description copied from class:AbstractDtComboSelectComponent
Creates aIMapper
instance that maps the model objects to the combo item view model objects.- Specified by:
createMapper
in classAbstractDtComboSelectComponent<Boolean,
IValue<Boolean>, IBooleanComboParameterization> - Returns:
- the
IMapper
-
getComboItems
Description copied from class:AbstractDtComboSelectComponent
Returns a collection of the model items that be available at the combo.- Specified by:
getComboItems
in classAbstractDtComboSelectComponent<Boolean,
IValue<Boolean>, IBooleanComboParameterization> - Returns:
- the collection of the objects.
-