Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface ActionSource<T extends ActionEvent>
Known subtypesAudioRecorderComponent, ButtonList, CheckBoxList, FileEncodedImage, FileEncodedImageAsync, FloatingActionButton, InviteButton, MultiButton, OnOffSwitch, RSSReader, RadioButtonList, ReplaceableImage, ScaleImageButton, ShareButton, SignatureComponent, SliderBridge, SpanButton, SpanMultiButton, StorageImage, StorageImageAsync, Switch, SwitchList, LikeButton, PointsLayer, AutoCompleteTextField, Button, ButtonGroup, Calendar, CheckBox, ComboBox, ComponentImage, ComponentImage.EncodedWrapper, DynamicImage, EditField, EncodedImage, FontImage, GeneratedSVGImage, Image, List, RGBImage, RadioButton, Slider, TextArea, TextField, URLImage, Timeline, MultiList, Picker
Methods
public abstract void addActionListener(ActionListener<T> l) | Adds ActionListener to receive action events form this source. |
public abstract void removeActionListener(ActionListener<T> l) | Removes ActionListener so that it will no longer receive events from this source. |
Method details
addActionListener
public abstract void addActionListener(ActionListener<T> l)removeActionListener
public abstract void removeActionListener(ActionListener<T> l)