Class IsShowEnglishLabelsMapFunctor

java.lang.Object
org.ka2ddo.yaac.gui.IsShowEnglishLabelsMapFunctor
All Implemented Interfaces:
GuiIfc.MapFunctor

public class IsShowEnglishLabelsMapFunctor extends Object implements GuiIfc.MapFunctor
Refactored functor for use in extracting the ShowLabelsInEnglish attribute of the maps.
Author:
Andrew Pavlin, KA2DDO
  • Constructor Details

    • IsShowEnglishLabelsMapFunctor

      public IsShowEnglishLabelsMapFunctor()
  • Method Details

    • applyToMap

      public void applyToMap(GeoMapIfc map)
      Perform some operation on the specified map view.
      Specified by:
      applyToMap in interface GuiIfc.MapFunctor
      Parameters:
      map - LimitedGeoMapIfc to operate on
    • isShowingEnglishLabels

      public boolean isShowingEnglishLabels()
      Report the collected answer of this functor.
      Returns:
      boolean of whether labels should always be shown in English rather than their native language