Enum ActionEvent.Type
- All Implemented Interfaces:
Serializable, Comparable<ActionEvent.Type>
- Enclosing class:
ActionEvent
The event type, as declared when the event is created.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvent fromcom.codename1.ui.CalendarTriggered by a commandNetwork event fired in case of a network response containing dataFired on acom.codename1.ui.TextField#setDoneListener(com.codename1.ui.events.ActionListener)action eventFired when a component drag is finishedFired on acom.codename1.ui.TextAreaaction eventNetwork event fired in case of a network errorFired by thecom.codename1.javascript.JavascriptContextFired by key eventsFired by key eventsLogging event to used for log/filesystem decouplingFired when acom.codename1.ui.Formis rotatedUnspecified command type, this occurs when one of the old undifferentiated constructors was invokedPointer event that doesn't necessarily fall into one of the other pointer event valuesPointer eventPointer eventPointer eventNetwork event fired in case of progress updateNetwork event fired in case of a network response code eventFired when acom.codename1.ui.Formis shownFired when aint)occursPointer swipe event currently fired bycom.codename1.ui.SwipeableContainer#addSwipeOpenListener(com.codename1.ui.events.ActionListener)Fired when the theme changes -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionEvent.TypeReturns the enum constant of this type with the specified name.static ActionEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Other
Unspecified command type, this occurs when one of the old undifferentiated constructors was invoked -
Command
Triggered by a command -
Pointer
Pointer event that doesn't necessarily fall into one of the other pointer event values -
PointerPressed
Pointer event -
PointerReleased
Pointer event -
PointerDrag
Pointer event -
Swipe
Pointer swipe event currently fired bycom.codename1.ui.SwipeableContainer#addSwipeOpenListener(com.codename1.ui.events.ActionListener) -
KeyPress
Fired by key events -
KeyRelease
Fired by key events -
Exception
Network event fired in case of a network error -
Response
Network event fired in case of a network response code event -
Progress
Network event fired in case of progress update -
Data
Network event fired in case of a network response containing data -
Calendar
Event fromcom.codename1.ui.Calendar -
Edit
Fired on acom.codename1.ui.TextAreaaction event -
Done
Fired on acom.codename1.ui.TextField#setDoneListener(com.codename1.ui.events.ActionListener)action event -
JavaScript
Fired by thecom.codename1.javascript.JavascriptContext -
Log
Logging event to used for log/filesystem decoupling -
Theme
Fired when the theme changes -
Show
Fired when acom.codename1.ui.Formis shown -
SizeChange
Fired when aint)occurs -
OrientationChange
Fired when acom.codename1.ui.Formis rotated -
DragFinished
Fired when a component drag is finished -
Change
-
LongPointerPress
-
OpenGallery
-
IsGalleryTypeSupported
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-