Package com.portal.ctrl
Class CyclerEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
com.portal.ctrl.CyclerEvent
- All Implemented Interfaces:
Serializable
The event emitted by Cycler objects.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The unit decrement type.static final int
The unit increment type.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
ConstructorsConstructorDescriptionCyclerEvent
(Object source, int type) Constructs a Cycler object with the specified Cycler source, and type.CyclerEvent
(Object source, int type, int value) Constructs a Cycler object with the specified Cycler source, and type. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
INCREMENT
public static final int INCREMENTThe unit increment type.- See Also:
-
DECREMENT
public static final int DECREMENTThe unit decrement type.- See Also:
-
-
Constructor Details
-
CyclerEvent
Constructs a Cycler object with the specified Cycler source, and type.- Parameters:
source
- the Cycler object where the event originated
-
CyclerEvent
Constructs a Cycler object with the specified Cycler source, and type.- Parameters:
source
- the Cycler object where the event originated
-
-
Method Details
-
getValue
public int getValue()Returns the current value in the scale event. -
paramString
- Overrides:
paramString
in classAWTEvent
-