public enum ActionEvent.Type

  1. Object
  2. Enum<ActionEvent.Type>
  3. ActionEvent.Type

ImplementsComparable<ActionEvent.Type>

The event type, as declared when the event is created.

Enum constants

OtherUnspecified command type, this occurs when one of the old undifferentiated constructors was invoked
CommandTriggered by a command
PointerPointer event that doesn’t necessarily fall into one of the other pointer event values
PointerPressedPointer event
PointerReleasedPointer event
PointerDragPointer event
PointerWheelMouse wheel or trackpad scroll event delivered as a com.codename1.ui.events.WheelEvent
PostureChangeDevice fold posture change delivered when a foldable device is folded or unfolded
SwipePointer swipe event currently fired by com.codename1.ui.SwipeableContainer#addSwipeOpenListener(com.codename1.ui.events.ActionListener)
KeyPressFired by key events
KeyReleaseFired by key events
ExceptionNetwork event fired in case of a network error
ResponseNetwork event fired in case of a network response code event
ProgressNetwork event fired in case of progress update
DataNetwork event fired in case of a network response containing data
CalendarEvent from com.codename1.ui.Calendar
EditFired on a com.codename1.ui.TextArea action event
DoneFired on a com.codename1.ui.TextField#setDoneListener(com.codename1.ui.events.ActionListener) action event
JavaScriptFired by the com.codename1.javascript.JavascriptContext
LogLogging event to used for log/filesystem decoupling
ThemeFired when the theme changes
ShowFired when a com.codename1.ui.Form is shown
SizeChangeFired when a int) occurs
OrientationChangeFired when a com.codename1.ui.Form is rotated
DragFinishedFired when a component drag is finished
Change
LongPointerPress
OpenGallery
IsGalleryTypeSupported
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)
NativeDragOverFired repeatedly while a native operating system drag moves over a native drop target
NativeDragExitFired when a native operating system drag leaves a native drop target
NativeDropFired when a native operating system drag is dropped on a native drop target
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

Methods

public static ActionEvent.Type[] values()
public static ActionEvent.Type valueOf(String name)

Inherited methods

Enum constant details

Other

Other
Unspecified command type, this occurs when one of the old undifferentiated constructors was invoked

Command

Command
Triggered by a command

Pointer

Pointer
Pointer event that doesn’t necessarily fall into one of the other pointer event values

PointerPressed

PointerPressed
Pointer event

PointerReleased

PointerReleased
Pointer event

PointerDrag

PointerDrag
Pointer event

PointerWheel

PointerWheel
Mouse wheel or trackpad scroll event delivered as a com.codename1.ui.events.WheelEvent

PostureChange

PostureChange
Device fold posture change delivered when a foldable device is folded or unfolded

Swipe

Swipe
Pointer swipe event currently fired by com.codename1.ui.SwipeableContainer#addSwipeOpenListener(com.codename1.ui.events.ActionListener)

KeyPress

KeyPress
Fired by key events

KeyRelease

KeyRelease
Fired by key events

Exception

Exception
Network event fired in case of a network error

Response

Response
Network event fired in case of a network response code event

Progress

Progress
Network event fired in case of progress update

Data

Data
Network event fired in case of a network response containing data

Calendar

Calendar
Event from com.codename1.ui.Calendar

Edit

Edit
Fired on a com.codename1.ui.TextArea action event

Done

Done
Fired on a com.codename1.ui.TextField#setDoneListener(com.codename1.ui.events.ActionListener) action event

JavaScript

JavaScript
Fired by the com.codename1.javascript.JavascriptContext

Log

Log
Logging event to used for log/filesystem decoupling

Theme

Theme
Fired when the theme changes

Show

Show
Fired when a com.codename1.ui.Form is shown

SizeChange

SizeChange
Fired when a int) occurs

OrientationChange

OrientationChange
Fired when a com.codename1.ui.Form is rotated

DragFinished

DragFinished
Fired when a component drag is finished

Change

Change

LongPointerPress

LongPointerPress

OpenGallery

OpenGallery

IsGalleryTypeSupported

IsGalleryTypeSupported

NativeDragEnter

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

NativeDragOver
Fired repeatedly while a native operating system drag moves over a native drop target

NativeDragExit

NativeDragExit
Fired when a native operating system drag leaves a native drop target

NativeDrop

NativeDrop
Fired when a native operating system drag is dropped on a native drop target

NativeDragCompleted

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

Method details

values

public static ActionEvent.Type[] values()

valueOf

public static ActionEvent.Type valueOf(String name)