public enum ActionEvent.Type
- Object
- Enum<ActionEvent.Type>
- ActionEvent.Type
ImplementsComparable<ActionEvent.Type>
The event type, as declared when the event is created.
Enum constants
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 |
PointerWheel | Mouse wheel or trackpad scroll event delivered as a com.codename1.ui.events.WheelEvent |
PostureChange | Device fold posture change delivered when a foldable device is folded or unfolded |
Swipe | Pointer swipe event currently fired by com.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 from com.codename1.ui.Calendar |
Edit | Fired on a com.codename1.ui.TextArea action event |
Done | Fired on a com.codename1.ui.TextField#setDoneListener(com.codename1.ui.events.ActionListener) action event |
JavaScript | Fired by the com.codename1.javascript.JavascriptContext |
Log | Logging event to used for log/filesystem decoupling |
Theme | Fired when the theme changes |
Show | Fired when a com.codename1.ui.Form is shown |
SizeChange | Fired when a int) occurs |
OrientationChange | Fired when a com.codename1.ui.Form is rotated |
DragFinished | Fired when a component drag is finished |
Change | |
LongPointerPress | |
OpenGallery | |
IsGalleryTypeSupported | |
NativeDragEnter | Fired when a native operating system drag enters a component that is a native drop target, see com.codename1.ui.Component#addNativeDropListener(com.codename1.ui.events.ActionListener) |
NativeDragOver | Fired repeatedly while a native operating system drag moves over a native drop target |
NativeDragExit | Fired when a native operating system drag leaves a native drop target |
NativeDrop | Fired when a native operating system drag is dropped on a native drop target |
NativeDragCompleted | Fired on the source of a native drag once the operating system has finished the transfer, telling the source which action – if any – was actually performed |
Methods
public static ActionEvent.Type[] values() | |
public static ActionEvent.Type valueOf(String name) |
Inherited methods
Enum constant details
Other
OtherUnspecified command type, this occurs when one of the old undifferentiated constructors was invoked
Command
CommandTriggered by a command
Pointer
PointerPointer event that doesn’t necessarily fall into one of the other pointer event values
PointerPressed
PointerPressedPointer event
PointerReleased
PointerReleasedPointer event
PointerDrag
PointerDragPointer event
PointerWheel
PointerWheelMouse wheel or trackpad scroll event delivered as a
com.codename1.ui.events.WheelEventPostureChange
PostureChangeDevice fold posture change delivered when a foldable device is folded or unfolded
Swipe
SwipePointer swipe event currently fired by
com.codename1.ui.SwipeableContainer#addSwipeOpenListener(com.codename1.ui.events.ActionListener)KeyPress
KeyPressFired by key events
KeyRelease
KeyReleaseFired by key events
Exception
ExceptionNetwork event fired in case of a network error
Response
ResponseNetwork event fired in case of a network response code event
Progress
ProgressNetwork event fired in case of progress update
Data
DataNetwork event fired in case of a network response containing data
Calendar
CalendarEvent from
com.codename1.ui.CalendarEdit
EditFired on a
com.codename1.ui.TextArea action eventDone
DoneFired on a
com.codename1.ui.TextField#setDoneListener(com.codename1.ui.events.ActionListener) action eventJavaScript
JavaScriptFired by the
com.codename1.javascript.JavascriptContextLog
LogLogging event to used for log/filesystem decoupling
Theme
ThemeFired when the theme changes
Show
ShowFired when a
com.codename1.ui.Form is shownSizeChange
SizeChangeFired when a
int) occursOrientationChange
OrientationChangeFired when a
com.codename1.ui.Form is rotatedDragFinished
DragFinishedFired when a component drag is finished
Change
ChangeLongPointerPress
LongPointerPressOpenGallery
OpenGalleryIsGalleryTypeSupported
IsGalleryTypeSupportedNativeDragEnter
NativeDragEnterFired when a native operating system drag enters a component that is a native drop
target, see
com.codename1.ui.Component#addNativeDropListener(com.codename1.ui.events.ActionListener)NativeDragOver
NativeDragOverFired repeatedly while a native operating system drag moves over a native drop target
NativeDragExit
NativeDragExitFired when a native operating system drag leaves a native drop target
NativeDrop
NativeDropFired when a native operating system drag is dropped on a native drop target
NativeDragCompleted
NativeDragCompletedFired on the source of a native drag once the operating system has finished the
transfer, telling the source which action – if any – was actually performed
Method details
values
public static ActionEvent.Type[] values()valueOf
public static ActionEvent.Type valueOf(String name)