Interface UnitEnumChangeListener

All Known Implementing Classes:
ConfigureTransmit, StationListTableModel
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UnitEnumChangeListener
Implementers of this interface can be informed when the desired units for a unit-scaled value are changed.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    unitEnumChanged(Enum<? extends UnitEnum> oldEnumValue, Enum<? extends UnitEnum> newEnumValue)
    Reports that a unit enum was changed.
  • Method Details

    • unitEnumChanged

      void unitEnumChanged(Enum<? extends UnitEnum> oldEnumValue, Enum<? extends UnitEnum> newEnumValue)
      Reports that a unit enum was changed.
      Parameters:
      oldEnumValue - old enumeration unit of the type
      newEnumValue - new enumeration unit of the same enum type