public class FeatureFocuser extends java.lang.Object implements IEditorMenuExtension
Modifier and Type | Field and Description |
---|---|
protected static javax.swing.ImageIcon |
homeIcon |
protected static javax.swing.ImageIcon |
markIcon |
protected static javax.swing.ImageIcon |
myLocIcon |
protected static javax.swing.ImageIcon |
transpIcon |
protected boolean |
useMyLocation |
protected boolean |
useVehiclesAndSystems |
Constructor and Description |
---|
FeatureFocuser(ConsoleLayout console) |
FeatureFocuser(ConsoleLayout console,
boolean useMyLocation,
boolean useVehiclesAndSystems) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<javax.swing.JMenuItem> |
getApplicableItems(LocationType loc,
IMapPopup source) |
boolean |
isUseMyLocation() |
boolean |
isUseVehiclesAndSystems() |
void |
setUseMyLocation(boolean useMyLocation) |
void |
setUseVehiclesAndSystems(boolean useVehiclesAndSystems) |
protected static final javax.swing.ImageIcon markIcon
protected static final javax.swing.ImageIcon homeIcon
protected static final javax.swing.ImageIcon transpIcon
protected static final javax.swing.ImageIcon myLocIcon
protected boolean useMyLocation
protected boolean useVehiclesAndSystems
public FeatureFocuser(ConsoleLayout console)
console
- public FeatureFocuser(ConsoleLayout console, boolean useMyLocation, boolean useVehiclesAndSystems)
console
- useMyLocation
- useVehiclesAndSystems
- public boolean isUseMyLocation()
public void setUseMyLocation(boolean useMyLocation)
useMyLocation
- the useMyLocation to setpublic boolean isUseVehiclesAndSystems()
public void setUseVehiclesAndSystems(boolean useVehiclesAndSystems)
useVehiclesAndSystems
- the useVehiclesAndSystems to setpublic java.util.Collection<javax.swing.JMenuItem> getApplicableItems(LocationType loc, IMapPopup source)
getApplicableItems
in interface IEditorMenuExtension
IEditorMenuExtension.getApplicableItems(pt.lsts.neptus.types.coord.LocationType, pt.lsts.neptus.planeditor.IMapPopup)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.