|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
java.awt.event.ActionEvent
com.tensegrity.gui.swing.control.spinbutton.SpinButtonActionEvent
The SpinButtonActionEvent class is a specialized version of the
common ActionEvent about the ability to store an instance of class Number. This
Event implementation is used with the SpinTextField controls to send value
modifications among the TextField and the SpinButton.
| Field Summary |
| Fields inherited from class java.awt.event.ActionEvent |
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK |
| Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
SpinButtonActionEvent(java.lang.Object source,
int id,
java.lang.Number number)
Creates a new SpinButtonActionEvent based on the given
source parameter, an id and an instance of class Number, representing the
new value. |
|
SpinButtonActionEvent(java.lang.Object source,
int id,
java.lang.Number number,
int modifiers)
Creates a new SpinButtonActionEvent based on the given
source parameter, an id and an instance of class Number, representing the
new value. |
|
| Method Summary | |
java.lang.Number |
getNumber()
Returns the Number instance associated with this Event. |
| Methods inherited from class java.awt.event.ActionEvent |
getActionCommand, getModifiers, getWhen, paramString |
| Methods inherited from class java.awt.AWTEvent |
consume, getID, isConsumed, 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 |
| Constructor Detail |
public SpinButtonActionEvent(java.lang.Object source,
int id,
java.lang.Number number)
SpinButtonActionEvent based on the given
source parameter, an id and an instance of class Number, representing the
new value.
source - the source where this event occurred.id - an Action ID. Ignored by SpinTextField and SpinButton.number - the instance of class Number holding the new value.
public SpinButtonActionEvent(java.lang.Object source,
int id,
java.lang.Number number,
int modifiers)
SpinButtonActionEvent based on the given
source parameter, an id and an instance of class Number, representing the
new value. The modifier parameter is silently ignored.
source - the source where this event occurred.id - an Action ID. Ignored by SpinTextField and SpinButton.number - the instance of class Number holding the new value.modifiers - ignored.| Method Detail |
public java.lang.Number getNumber()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||