Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface ActionListener<T extends ActionEvent>

Known subtypesButtonList, CheckBoxList, InviteButton, Progress, RadioButtonList, ShareButton, SwitchList, LikeButton, Plugin, EmailShare, FacebookShare, SMSShare, ShareService, Command, MenuBar, NavigationCommand, SideMenuBar, HTMLComponent

Event callback interface invoked when a component action occurs

Parameters

  • subclass: of ActionEvent e..g com.codename1.io.NetworkEvent

Methods

public abstract void actionPerformed(T evt)Invoked when an action occurred on a component

Method details

actionPerformed

public abstract void actionPerformed(T evt)
Invoked when an action occurred on a component

Parameters

evt T
event object describing the source of the action as well as its trigger