Class LongSpinnerComponent
- 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<IValue<Long>,ISpinnerParameterization<Long>,LongSpinnerViewModel>
-
- com._1c.g5.aef2.standard.components.LongSpinnerComponent
-
- All Implemented Interfaces:
IComponent<IValue<Long>>
,IEventChannel
public class LongSpinnerComponent extends AbstractControlComponent<IValue<Long>,ISpinnerParameterization<Long>,LongSpinnerViewModel>
Component for long spinner.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection
-
-
Constructor Summary
Constructors Constructor Description LongSpinnerComponent(long min, long max)
LongSpinnerComponent(ISpinnerParameterization<Long> parameterization)
Creates a newLongSpinnerComponent
instance with the given parameterization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LongSpinnerViewModel
createControlViewModel()
Creates control view model instance.-
Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
createViewModels, 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, 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 Detail
-
LongSpinnerComponent
public LongSpinnerComponent(ISpinnerParameterization<Long> parameterization)
Creates a newLongSpinnerComponent
instance with the given parameterization.- Parameters:
parameterization
- the parametrization, cannot benull
-
LongSpinnerComponent
public LongSpinnerComponent(long min, long max)
- Parameters:
min
- the minimum allowed thresholdmax
- the maximum allowed threshold
-
-
Method Detail
-
createControlViewModel
protected LongSpinnerViewModel createControlViewModel()
Description copied from class:AbstractControlComponent
Creates control view model instance.- Specified by:
createControlViewModel
in classAbstractControlComponent<IValue<Long>,ISpinnerParameterization<Long>,LongSpinnerViewModel>
- Returns:
- a newly created control view model.
-
-