public abstract class AbstractNumberInput extends Object implements NumberInput
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNumberInput.AdvancedNumberInputInteractions |
| Constructor and Description |
|---|
AbstractNumberInput() |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractNumberInput.AdvancedNumberInputInteractions |
advanced() |
void |
decrease()
Decreases the current value of this number input by the value of the step.
|
void |
decrease(int n)
Dcreases the current value of this number input by the value of the step
n times. |
double |
getValue()
Gets the current number value of this number input.
|
void |
increase()
Increases the current value of this number input by the value of the step.
|
void |
increase(int n)
Increases the current value of this number input by the value of the step
n times. |
void |
setValue(double value)
Sets the exact number value to the input.
|
public abstract AbstractNumberInput.AdvancedNumberInputInteractions advanced()
public void increase()
NumberInputincrease in interface NumberInputpublic void decrease()
NumberInputdecrease in interface NumberInputpublic void increase(int n)
NumberInputn times.
In other words, if the step is 2, and given param n is 3, the input value is increased by 6.increase in interface NumberInputn - how many times the increasing should be executedpublic void decrease(int n)
NumberInputn times.
In other words, if the step is 2, and given param n is 3, the input value is decreased by 6.decrease in interface NumberInputn - how many times the decreasing should be executedpublic void setValue(double value)
NumberInputsetValue in interface NumberInputvalue - value to be setpublic double getValue()
NumberInputgetValue in interface NumberInputCopyright © 2014 JBoss by Red Hat. All Rights Reserved.