|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.aria.helper.DoubleAdapter
public class DoubleAdapter
A helper for an double model field
Copyright (c) Formaria Ltd., 2008
$Revision: 2.2 $
License: see License.txt
| Constructor Summary | |
|---|---|
DoubleAdapter(java.lang.Object modelNode)
Wrap a model node containing a double field |
|
| Method Summary | |
|---|---|
void |
decrement()
Decrement the model value by one |
double |
get()
Get the model value as a double value |
void |
increment()
Increment the model value by one |
void |
set(double newValue)
Set the model value as a double value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleAdapter(java.lang.Object modelNode)
modelNode - The model node being adapted| Method Detail |
|---|
public double get()
public void set(double newValue)
newValue - the new valuepublic void increment()
public void decrement()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||