public static enum ActionEvent.Type extends Enum<ActionEvent.Type>
Enum Constant and Description |
---|
Calendar
Event from
Calendar |
Change |
Command
Triggered by a command
|
Data
Network event fired in case of a network response containing data
|
Done
Fired on a
TextArea.setDoneListener(com.codename1.ui.events.ActionListener) action event |
DragFinished
Fired when a component drag is finished
|
Edit
Fired on a
TextArea action event |
Exception
Network event fired in case of a network error
|
IsGalleryTypeSupported |
JavaScript
Fired by the
JavascriptContext |
KeyPress
Fired by key events
|
KeyRelease
Fired by key events
|
Log
Logging event to used for log/filesystem decoupling
|
LongPointerPress |
OpenGallery |
OrientationChange
Fired when a
Form is rotated |
Other
Unspecified command type, this occurs when one of the old undifferentiated constructors was invoked
|
Pointer
Pointer event that doesn't necessarily fall into one of the other pointer event values
|
PointerDrag
Pointer event
|
PointerPressed
Pointer event
|
PointerReleased
Pointer event
|
Progress
Network event fired in case of progress update
|
Response
Network event fired in case of a network response code event
|
Show
Fired when a
Form is shown |
SizeChange
Fired when a
Form.sizeChanged(int, int) occurs |
Swipe
Pointer swipe event currently fired by
SwipeableContainer.addSwipeOpenListener(com.codename1.ui.events.ActionListener) |
Theme
Fired when the theme changes
|
Modifier and Type | Method and Description |
---|---|
static ActionEvent.Type |
valueOf(String name)
Returns 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.
|
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
public static final ActionEvent.Type Other
public static final ActionEvent.Type Command
public static final ActionEvent.Type Pointer
public static final ActionEvent.Type PointerPressed
public static final ActionEvent.Type PointerReleased
public static final ActionEvent.Type PointerDrag
public static final ActionEvent.Type Swipe
SwipeableContainer.addSwipeOpenListener(com.codename1.ui.events.ActionListener)
public static final ActionEvent.Type KeyPress
public static final ActionEvent.Type KeyRelease
public static final ActionEvent.Type Exception
public static final ActionEvent.Type Response
public static final ActionEvent.Type Progress
public static final ActionEvent.Type Data
public static final ActionEvent.Type Calendar
Calendar
public static final ActionEvent.Type Edit
TextArea
action eventpublic static final ActionEvent.Type Done
TextArea.setDoneListener(com.codename1.ui.events.ActionListener)
action eventpublic static final ActionEvent.Type JavaScript
JavascriptContext
public static final ActionEvent.Type Log
public static final ActionEvent.Type Theme
public static final ActionEvent.Type Show
Form
is shownpublic static final ActionEvent.Type SizeChange
Form.sizeChanged(int, int)
occurspublic static final ActionEvent.Type OrientationChange
Form
is rotatedpublic static final ActionEvent.Type DragFinished
public static final ActionEvent.Type Change
public static final ActionEvent.Type LongPointerPress
public static final ActionEvent.Type OpenGallery
public static final ActionEvent.Type IsGalleryTypeSupported
public static ActionEvent.Type[] values()
for (ActionEvent.Type c : ActionEvent.Type.values()) System.out.println(c);
public static ActionEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null