- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file Percentbox.java.
◆ Percentbox()
org.turro.zkoss.input.Percentbox.Percentbox |
( |
| ) |
|
◆ getMaxPercent()
double org.turro.zkoss.input.Percentbox.getMaxPercent |
( |
| ) |
|
◆ getValue()
Double org.turro.zkoss.input.Percentbox.getValue |
( |
| ) |
throws WrongValueException |
Definition at line 46 of file Percentbox.java.
47 Object val = getTargetValue();
48 if(val instanceof Number) {
49 return ((Number) val).doubleValue() / 100.0d;
◆ setMaxPercent()
void org.turro.zkoss.input.Percentbox.setMaxPercent |
( |
double |
maxPercent | ) |
|
◆ setValue()
void org.turro.zkoss.input.Percentbox.setValue |
( |
Double |
value | ) |
throws WrongValueException |
Definition at line 55 of file Percentbox.java.
56 value = Math.max(Math.min(value, maxPercent), 0.0d);
57 super.setValue(Double.valueOf(value * 100.0d));
The documentation for this class was generated from the following file: