public interface ActionSource<T extends ActionEvent>

Known subtypesAudioRecorderComponent, ButtonList, CheckBoxList, FileEncodedImage, FileEncodedImageAsync, FloatingActionButton, 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

An interface that can be implemented by any class that broadcasts ActionEvents.

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)
Adds ActionListener to receive action events form this source.

removeActionListener

public abstract void removeActionListener(ActionListener<T> l)
Removes ActionListener so that it will no longer receive events from this source.