Interface ActionSource<T extends ActionEvent>

All Known Implementing Classes:
AudioRecorderComponent, AutoCompleteTextField, Button, ButtonGroup, ButtonList, Calendar, CheckBox, CheckBoxList, ComboBox, ComponentImage, ComponentImage.EncodedWrapper, DynamicImage, EncodedImage, FileEncodedImage, FileEncodedImageAsync, FloatingActionButton, FontImage, Image, LikeButton, List, MultiButton, MultiList, OnOffSwitch, Picker, PointsLayer, RadioButton, RadioButtonList, ReplaceableImage, RGBImage, RSSReader, ScaleImageButton, ShareButton, SignatureComponent, Slider, SliderBridge, SpanButton, SpanMultiButton, StorageImage, StorageImageAsync, Switch, SwitchList, TextArea, TextField, Timeline, URLImage

public interface ActionSource<T extends ActionEvent>
An interface that can be implemented by any class that broadcasts ActionEvents.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds ActionListener to receive action events form this source.
    void
    Removes ActionListener so that it will no longer receive events from this source.
  • Method Details

    • addActionListener

      void addActionListener(ActionListener<T> l)

      Adds ActionListener to receive action events form this source.

      Parameters
      • l
    • removeActionListener

      void removeActionListener(ActionListener<T> l)

      Removes ActionListener so that it will no longer receive events from this source.

      Parameters
      • l