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.

Methods

public abstract void actionPerformed(CarContext context)Invoked when the associated element is selected on the head unit.

Method details

actionPerformed

public abstract void actionPerformed(CarContext context)
Invoked when the associated element is selected on the head unit.

Parameters

context CarContext
the live car context, e.g. to push a follow-on CarScreen