Package org.ka2ddo.yaac.gui
Class IsShowEnglishLabelsMapFunctor
java.lang.Object
org.ka2ddo.yaac.gui.IsShowEnglishLabelsMapFunctor
- All Implemented Interfaces:
GuiIfc.MapFunctor
Refactored functor for use in extracting the ShowLabelsInEnglish attribute of
the maps.
- Author:
- Andrew Pavlin, KA2DDO
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyToMap
(GeoMapIfc map) Perform some operation on the specified map view.boolean
Report the collected answer of this functor.
-
Constructor Details
-
IsShowEnglishLabelsMapFunctor
public IsShowEnglishLabelsMapFunctor()
-
-
Method Details
-
applyToMap
Perform some operation on the specified map view.- Specified by:
applyToMap
in interfaceGuiIfc.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
-