public interface NumberInput
| Modifier and Type | Method and Description |
|---|---|
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.
|
void increase()
RuntimeException - if there is no handler for increasing the value (for example arrow)void decrease()
RuntimeException - if there is no handler for decreasing the value (for example arrow)void increase(int n)
n times.
In other words, if the step is 2, and given param n is 3, the input value is increased by 6.n - how many times the increasing should be executedRuntimeException - if there is no handler for increasing the value (for example arrow)void decrease(int n)
n times.
In other words, if the step is 2, and given param n is 3, the input value is decreased by 6.n - how many times the decreasing should be executedRuntimeException - if there is no handler for decreasing the value (for example arrow)void setValue(double value)
value - value to be setdouble getValue()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.