|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
org.tentackle.ui.SpinEvent
public class SpinEvent
A spinning event.
Used to spin up or down the value in a FormSpinField.
| Field Summary | |
|---|---|
static int |
DECREMENT
decrement action |
static int |
INCREMENT
increment action |
static int |
SPIN_EVENT_ID
default spin event id |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SpinEvent(Object source,
int action)
Creates a spin event with the default event id. |
|
SpinEvent(Object source,
int id,
int action)
Creates a spin event |
|
| Method Summary | |
|---|---|
int |
getAction()
Gets the action code. |
| Methods inherited from class java.awt.AWTEvent |
|---|
consume, getID, isConsumed, paramString, setSource, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SPIN_EVENT_ID
public static final int INCREMENT
public static final int DECREMENT
| Constructor Detail |
|---|
public SpinEvent(Object source,
int id,
int action)
source - source object (usually this)id - event IDaction - the action code
public SpinEvent(Object source,
int action)
source - source object (usually this)action - the action code| Method Detail |
|---|
public int getAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||