package 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). See the overview documentation for further information and com.codename1.ui.Display.

Types

class ActionEventEvent object delivered when an ActionListener callback is invoked
interface ActionListenerEvent callback interface invoked when a component action occurs
interface ActionSourceAn interface that can be implemented by any class that broadcasts ActionEvents.
interface BrowserNavigationCallbackImportant: Calls to this interface are always performed on a separate thread from the EDT! They are performed on the native webkit rendering thread or native event dispatch thread, this interface MUST NEVER block or synchronize against th…
class ComponentStateChangeEventAn event that is fired when the state of a component is changed to and from initialized.
interface DataChangedListenerEvent callback interface invoked when a com.codename1.ui.list.ListModel changes its state thus indicating to the view that it should refresh.
interface FocusListenerObserves focus change events for a given form and invokes the callbacks to enable us to assign functionality based on current focused component.
class MessageEventEncapsulates an event that either originates outside the App (e.g. from the webpage that contains the app if it is published using the Javascript port); or whose destination is outside the app.
class PointerEventImmutable snapshot describing the rich detail of a pointer interaction that goes beyond the simple x/y coordinates carried by the legacy pointer callbacks.
interface ScrollListenerInvoked to indicate a scroll change events
interface SelectionListenerInvoked to indicate a selection change in the list model
interface StyleListenerInvoked to indicate a change in a Style property
class WheelEventEvent delivered to mouse wheel listeners when the wheel or a trackpad scroll gesture is moved.
class WindowEventDescribes a change in the native window hosting the Codename One display on desktop platforms.