Class SpinnerParameterization<T extends Number & Comparable<T>>
- java.lang.Object
-
- com._1c.g5.aef2.standard.parameterization.SpinnerParameterization<T>
-
- All Implemented Interfaces:
IParameterization
,ISpinnerParameterization<T>
public class SpinnerParameterization<T extends Number & Comparable<T>> extends Object implements ISpinnerParameterization<T>
ISpinnerParameterization
basic implementation.
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID
-
-
Constructor Summary
Constructors Constructor Description SpinnerParameterization(T min, T max)
Creates a new spinner component parameterization.SpinnerParameterization(T min, T max, ValueChangeApply applyValueChange)
Creates a new spinner component parameterization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueChangeApply
getApplyValueChange()
Returns aplly control value change.T
getMaximum()
Returns the maximum spinner value.T
getMinimum()
Returns the minimum spinner value.void
setMaximum(T max)
Sets the maximum of spinner.void
setMinimum(T min)
Sets the minimum of spinner.
-
-
-
Constructor Detail
-
SpinnerParameterization
public SpinnerParameterization(T min, T max)
Creates a new spinner component parameterization.- Parameters:
min
- the minimum value.max
- the maximum value.
-
SpinnerParameterization
public SpinnerParameterization(T min, T max, ValueChangeApply applyValueChange)
Creates a new spinner component parameterization.- Parameters:
min
- the minimum value.max
- the maximum value.applyValueChange
- the apply value change to set, cannot benull
-
-
Method Detail
-
setMinimum
public void setMinimum(T min)
Description copied from interface:ISpinnerParameterization
Sets the minimum of spinner.- Specified by:
setMinimum
in interfaceISpinnerParameterization<T extends Number & Comparable<T>>
- Parameters:
min
- the minimum value.
-
setMaximum
public void setMaximum(T max)
Description copied from interface:ISpinnerParameterization
Sets the maximum of spinner.- Specified by:
setMaximum
in interfaceISpinnerParameterization<T extends Number & Comparable<T>>
-
getMinimum
public T getMinimum()
Description copied from interface:ISpinnerParameterization
Returns the minimum spinner value.- Specified by:
getMinimum
in interfaceISpinnerParameterization<T extends Number & Comparable<T>>
- Returns:
- the minimum.
-
getMaximum
public T getMaximum()
Description copied from interface:ISpinnerParameterization
Returns the maximum spinner value.- Specified by:
getMaximum
in interfaceISpinnerParameterization<T extends Number & Comparable<T>>
- Returns:
- the maximum.
-
getApplyValueChange
public ValueChangeApply getApplyValueChange()
Description copied from interface:ISpinnerParameterization
Returns aplly control value change.- Specified by:
getApplyValueChange
in interfaceISpinnerParameterization<T extends Number & Comparable<T>>
- Returns:
- the applyValueChange, cannot be
null
-
-