org.comedia.event
Class CSpinEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.comedia.event.CSpinEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class CSpinEvent
- extends java.util.EventObject
Presents an event object which is generated by CSpinButton control.
- See Also:
- Serialized Form
Field Summary |
static int |
DOWN
The down spin command. |
static int |
UP
The up spin command. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CSpinEvent(java.lang.Object src,
int cmd)
Constructs a new CSpinEvent. |
Method Summary |
int |
getSpinCommand()
Get the action command of this Spinner that caused this SpinEvent. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UP
public static final int UP
- The up spin command.
DOWN
public static final int DOWN
- The down spin command.
CSpinEvent
public CSpinEvent(java.lang.Object src,
int cmd)
- Constructs a new CSpinEvent.
- Parameters:
src
- the source of the event.cmd
- the action command of the Spinner causing the event.
getSpinCommand
public int getSpinCommand()
- Get the action command of this Spinner that caused this SpinEvent.
- Returns:
- ?he action command of this ?SpinEvent.