Enum ActionEvent.Type
- All Implemented Interfaces:
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.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOfModifier and TypeMethodDescriptionprotected Objectclone()final intCompares this object to the specified object to determine their relative order.final booleanIndicates whether some other object is "equal to" this one.final Class<ActionEvent.Type> protected static final <T> T[]getEnumValues(Class<T> class_) final inthashCode()Returns a hash code value for the object.final Stringname()final intordinal()protected static final voidsetEnumValues(Object[] values, Class c) toString()Returns a string representation of the object.static <T extends Enum<T>>
TMethods inherited from class Object
getClass, notify, notifyAll, wait, wait, waitModifier and TypeMethodDescriptionfinal ClassgetClass()Returns the runtime class of an object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.final voidwait()Causes current thread to wait until another thread invokes the method or the method for this object.final voidwait(long timeout) Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.final voidwait(long timeout, int nanos) Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
-
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
-