Changeset 10240 in josm
- Timestamp:
- 2016-05-17T13:17:22+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java
r10238 r10240 23 23 import org.openstreetmap.josm.gui.mappaint.styleelement.BoxTextElement.SimpleBoxProvider; 24 24 import org.openstreetmap.josm.gui.util.RotationAngle; 25 import org.openstreetmap.josm.tools.CheckParameterUtil; 25 26 import org.openstreetmap.josm.tools.Utils; 26 27 … … 79 80 } 80 81 82 private static final String[] ICON_KEYS = {ICON_IMAGE, ICON_WIDTH, ICON_HEIGHT, ICON_OPACITY, ICON_OFFSET_X, ICON_OFFSET_Y}; 83 81 84 public static final NodeElement SIMPLE_NODE_ELEMSTYLE; 82 85 public static final BoxProvider SIMPLE_NODE_ELEMSTYLE_BOXPROVIDER; … … 92 95 public static final StyleElementList DEFAULT_NODE_STYLELIST_TEXT = new StyleElementList(NodeElement.SIMPLE_NODE_ELEMSTYLE, 93 96 BoxTextElement.SIMPLE_NODE_TEXT_ELEMSTYLE); 94 95 private static final String[] ICON_KEYS = {ICON_IMAGE, ICON_WIDTH, ICON_HEIGHT, ICON_OPACITY, ICON_OFFSET_X, ICON_OFFSET_Y};96 97 97 98 protected NodeElement(Cascade c, MapImage mapImage, Symbol symbol, float defaultMajorZindex, RotationAngle rotationAngle) { … … 144 145 145 146 public static MapImage createIcon(final Environment env, final String[] keys) { 147 CheckParameterUtil.ensureParameterNotNull(env, "env"); 148 CheckParameterUtil.ensureParameterNotNull(keys, "keys"); 149 146 150 Cascade c = env.mc.getCascade(env.layer); 147 151
Note:
See TracChangeset
for help on using the changeset viewer.