1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.mappaint;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Interface defining string constants (MapCSS property keys).
|
---|
6 | *
|
---|
7 | * For the implementation of the <code>@supports</code> feature, the list of
|
---|
8 | * supported keys is loaded from this interface using reflection.
|
---|
9 | * @see org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource#evalSupportsDeclCondition(java.lang.String, java.lang.Object)
|
---|
10 | */
|
---|
11 | public interface StyleKeys {
|
---|
12 |
|
---|
13 | String COLOR = "color";
|
---|
14 | String DASHES = "dashes";
|
---|
15 | String DASHES_BACKGROUND_COLOR = "dashes-background-color";
|
---|
16 | String DASHES_BACKGROUND_OPACITY = "dashes-background-opacity";
|
---|
17 | String DASHES_OFFSET = "dashes-offset";
|
---|
18 | String FILL_COLOR = "fill-color";
|
---|
19 | String FILL_EXTENT = "fill-extent";
|
---|
20 | String FILL_EXTENT_THRESHOLD = "fill-extent-threshold";
|
---|
21 | String FILL_IMAGE = "fill-image";
|
---|
22 | String FILL_OPACITY = "fill-opacity";
|
---|
23 | String FONT_FAMILY = "font-family";
|
---|
24 | String FONT_SIZE = "font-size";
|
---|
25 | String FONT_STYLE = "font-style";
|
---|
26 | String FONT_WEIGHT = "font-weight";
|
---|
27 | String ICON_IMAGE = "icon-image";
|
---|
28 | String ICON_HEIGHT = "icon-height";
|
---|
29 | String ICON_OFFSET_X = "icon-offset-x";
|
---|
30 | String ICON_OFFSET_Y = "icon-offset-y";
|
---|
31 | String ICON_OPACITY = "icon-opacity";
|
---|
32 | String ICON_ROTATION = "icon-rotation";
|
---|
33 | String ICON_WIDTH = "icon-width";
|
---|
34 | /**
|
---|
35 | * Position of icons on area.
|
---|
36 | */
|
---|
37 | String ICON_POSITION = "icon-position";
|
---|
38 | String LINECAP = "linecap";
|
---|
39 | String LINEJOIN = "linejoin";
|
---|
40 | String MAJOR_Z_INDEX = "major-z-index";
|
---|
41 | String MITERLIMIT = "miterlimit";
|
---|
42 | String MODIFIER = "modifier";
|
---|
43 | String OBJECT_Z_INDEX = "object-z-index";
|
---|
44 | String OFFSET = "offset";
|
---|
45 | String OPACITY = "opacity";
|
---|
46 | String REAL_WIDTH = "real-width";
|
---|
47 | String REPEAT_IMAGE = "repeat-image";
|
---|
48 | String REPEAT_IMAGE_ALIGN = "repeat-image-align";
|
---|
49 | String REPEAT_IMAGE_HEIGHT = "repeat-image-height";
|
---|
50 | String REPEAT_IMAGE_OFFSET = "repeat-image-offset";
|
---|
51 | String REPEAT_IMAGE_OPACITY = "repeat-image-opacity";
|
---|
52 | String REPEAT_IMAGE_PHASE = "repeat-image-phase";
|
---|
53 | String REPEAT_IMAGE_SPACING = "repeat-image-spacing";
|
---|
54 | String REPEAT_IMAGE_WIDTH = "repeat-image-width";
|
---|
55 | String TEXT = "text";
|
---|
56 | String TEXT_ANCHOR_HORIZONTAL = "text-anchor-horizontal";
|
---|
57 | String TEXT_ANCHOR_VERTICAL = "text-anchor-vertical";
|
---|
58 | String TEXT_COLOR = "text-color";
|
---|
59 | String TEXT_HALO_COLOR = "text-halo-color";
|
---|
60 | String TEXT_HALO_OPACITY = "text-halo-opacity";
|
---|
61 | String TEXT_HALO_RADIUS = "text-halo-radius";
|
---|
62 | String TEXT_OFFSET = "text-offset";
|
---|
63 | String TEXT_OFFSET_X = "text-offset-x";
|
---|
64 | String TEXT_OFFSET_Y = "text-offset-y";
|
---|
65 | String TEXT_OPACITY = "text-opacity";
|
---|
66 | String TEXT_POSITION = "text-position";
|
---|
67 | String WAY_DIRECTION_ARROWS = "way-direction-arrows";
|
---|
68 | String WIDTH = "width";
|
---|
69 | String Z_INDEX = "z-index";
|
---|
70 |
|
---|
71 | }
|
---|