Changeset 32030 in osm for applications/viewer/jmapviewer/src/org/openstreetmap
- Timestamp:
- 2016-01-29T09:57:00+01:00 (9 years ago)
- Location:
- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/AttributionSupport.java
r31790 r32030 54 54 } 55 55 56 public void paintAttribution(Graphics g, int width, int height, ICoordinate topLeft, ICoordinate bottomRight, 56 public void paintAttribution(Graphics g, int width, int height, ICoordinate topLeft, ICoordinate bottomRight, 57 57 int zoom, ImageObserver observer) { 58 58 if (source == null || !source.requiresAttribution()) { -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/DefaultMapController.java
r31790 r32030 45 45 return; 46 46 // Is only the selected mouse button pressed? 47 if ((e.getModifiersEx() & MOUSE_BUTTONS_MASK) == movementMouseButtonMask 47 if ((e.getModifiersEx() & MOUSE_BUTTONS_MASK) == movementMouseButtonMask 48 48 || isPlatformOsx() && e.getModifiersEx() == MAC_MOUSE_BUTTON3_MASK) { 49 49 Point p = e.getPoint(); -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r31991 r32030 1063 1063 1064 1064 /** 1065 * Sets whether zoom controls are displayed or not. 1065 * Sets whether zoom controls are displayed or not. 1066 1066 * @param visible {@code true} if zoom controls are displayed, {@code false} otherwise 1067 1067 */ … … 1073 1073 1074 1074 /** 1075 * Determines whether zoom controls are displayed or not. 1075 * Determines whether zoom controls are displayed or not. 1076 1076 * @return {@code true} if zoom controls are displayed, {@code false} otherwise 1077 1077 */ … … 1150 1150 1151 1151 /** 1152 * Determines whether scroll wrap is enabled or not. 1152 * Determines whether scroll wrap is enabled or not. 1153 1153 * @return {@code true} if scroll wrap is enabled, {@code false} otherwise 1154 1154 */ … … 1158 1158 1159 1159 /** 1160 * Sets whether scroll wrap is enabled or not. 1160 * Sets whether scroll wrap is enabled or not. 1161 1161 * @param scrollWrapEnabled {@code true} if scroll wrap is enabled, {@code false} otherwise 1162 1162 */ -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Layer.java
r31780 r32030 8 8 public class Layer extends AbstractLayer { 9 9 private List<MapObject> elements; 10 10 11 11 public Layer(String name) { 12 12 super(name); -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Style.java
r31434 r32030 12 12 private Stroke stroke; 13 13 private Font font; 14 14 15 15 private static final AlphaComposite TRANSPARENCY = AlphaComposite.getInstance(AlphaComposite.SRC_OVER); 16 16 private static final AlphaComposite OPAQUE = AlphaComposite.getInstance(AlphaComposite.SRC); -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/checkBoxTree/CheckBoxNodeData.java
r31792 r32030 7 7 /** 8 8 * Node Data for checkBox Tree 9 * 9 * 10 10 * @author galo 11 11 */ -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/checkBoxTree/CheckBoxNodeEditor.java
r31780 r32030 17 17 /** 18 18 * Editor for checkBox Tree 19 * 19 * 20 20 * @author galo 21 21 */ -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/checkBoxTree/CheckBoxNodePanel.java
r31429 r32030 11 11 /** 12 12 * Node Panel for checkBox Tree 13 * 13 * 14 14 * @author galo 15 15 */ -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/checkBoxTree/CheckBoxNodeRenderer.java
r31780 r32030 15 15 /** 16 16 * Renderer for checkBox Tree 17 * 17 * 18 18 * @author galo 19 19 */ … … 102 102 private JPopupMenu createPopupMenu(final AbstractLayer layer) { 103 103 JMenuItem menuItem; 104 104 105 105 //Create the popup menu. 106 106 if (layer.isVisibleTexts()) menuItem = new JMenuItem("hide texts"); … … 114 114 } 115 115 }); 116 116 117 117 return popup; 118 118 } -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/interfaces/TileClearController.java
r31429 r32030 3 3 4 4 import java.io.File; 5 5 6 6 public interface TileClearController { 7 7 -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/MapQuestOsmTileSource.java
r31301 r32030 11 11 super("MapQuest-OSM", PATTERN, "mapquest-osm"); 12 12 } 13 13 14 14 @Override 15 15 public String getAttributionText(int zoom, ICoordinate topLeft,
Note:
See TracChangeset
for help on using the changeset viewer.