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
ConstructorsConstructorDescriptionLongSpinnerComponent(long min, long max) LongSpinnerComponent(ISpinnerParameterization<Long> parameterization) Creates a newLongSpinnerComponentinstance with the given parameterization. -
Method Summary
Modifier and TypeMethodDescriptionprotected LongSpinnerViewModelCreates control view model instance.Methods inherited from class com._1c.g5.aef2.standard.components.AbstractControlComponent
createViewModels, 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, 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
-
LongSpinnerComponent
Creates a newLongSpinnerComponentinstance 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 Details
-
createControlViewModel
Description copied from class:AbstractControlComponentCreates control view model instance.- Specified by:
createControlViewModelin classAbstractControlComponent<IValue<Long>,ISpinnerParameterization<Long>, LongSpinnerViewModel> - Returns:
- a newly created control view model.
-