Interface CarActionListener


public interface CarActionListener
Callback invoked when the user activates an in-car element -- a CarRow, CarGridItem or CarAction. Single-method, so application code on Java 8+ can supply it as a lambda. The callback is always delivered on the Codename One EDT.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the associated element is selected on the head unit.
  • Method Details

    • actionPerformed

      void actionPerformed(CarContext context)

      Invoked when the associated element is selected on the head unit.

      Parameters
      • context: the live car context, e.g. to push a follow-on CarScreen