|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.xui.helper.IntegerAdapter
public class IntegerAdapter
A helper for an int model field
Copyright (c) Xoetrope Ltd., 2002-2004
$Revision: 2.2 $
License: see License.txt
| Constructor Summary | |
|---|---|
IntegerAdapter(java.lang.Object modelNode)Create a new adapter |
|
| Method Summary | |
|---|---|
void |
decrement()Decrement the model value by one |
int |
get()Get the model value as an int value |
void |
increment()Increment the model value by one |
void |
set(int newValue)Set the model value as an integer value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerAdapter(java.lang.Object modelNode)
modelNode - The model node being adapted| Method Detail |
|---|
public int get()
public void set(int 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 | |||||||||