| Package | Description |
|---|---|
| com.codename1.ui.events |
Observable pattern event listeners in the spirit of AWT 1.1's event
dispatching architecture, all events are dispatched on the EDT (Event Dispatch Thread).
|
| Modifier and Type | Method and Description |
|---|---|
ActionEvent.Type |
ActionEvent.getEventType()
Returns the type of the given event allowing us to have more generic event handling code and useful
for debugging
|
static ActionEvent.Type |
ActionEvent.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionEvent.Type[] |
ActionEvent.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ActionEvent(Command source,
ActionEvent.Type type,
Component sourceComponent,
int x,
int y)
Creates a new instance of ActionEvent for a command
|
ActionEvent(Component dragged,
ActionEvent.Type type,
Component drop,
int x,
int y)
Creates a new instance of ActionEvent for a drop operation
|
ActionEvent(Object source,
ActionEvent.Type type)
Creates a new instance of ActionEvent
|
ActionEvent(Object source,
ActionEvent.Type type,
int keyEvent)
Creates a new instance of ActionEvent.
|
ActionEvent(Object source,
ActionEvent.Type type,
int x,
int y)
Creates a new instance of ActionEvent as a pointer event
|
Copyright © 2023. All rights reserved.