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 | /**
|
---|
14 | * MapCSS color property key
|
---|
15 | */
|
---|
16 | String COLOR = "color";
|
---|
17 | /**
|
---|
18 | * MapCSS dashes property key
|
---|
19 | */
|
---|
20 | String DASHES = "dashes";
|
---|
21 | /**
|
---|
22 | * MapCSS dashes-background-color property key
|
---|
23 | */
|
---|
24 | String DASHES_BACKGROUND_COLOR = "dashes-background-color";
|
---|
25 | /**
|
---|
26 | * MapCSS dashes-background-opacity property key
|
---|
27 | */
|
---|
28 | String DASHES_BACKGROUND_OPACITY = "dashes-background-opacity";
|
---|
29 | /**
|
---|
30 | * MapCSS dashes-offset property key
|
---|
31 | */
|
---|
32 | String DASHES_OFFSET = "dashes-offset";
|
---|
33 | /**
|
---|
34 | * MapCSS fill-color property key
|
---|
35 | */
|
---|
36 | String FILL_COLOR = "fill-color";
|
---|
37 | /**
|
---|
38 | * MapCSS fill-extent property key
|
---|
39 | */
|
---|
40 | String FILL_EXTENT = "fill-extent";
|
---|
41 | /**
|
---|
42 | * MapCSS fill-extent-threshold property key
|
---|
43 | */
|
---|
44 | String FILL_EXTENT_THRESHOLD = "fill-extent-threshold";
|
---|
45 | /**
|
---|
46 | * MapCSS fill-image property key
|
---|
47 | */
|
---|
48 | String FILL_IMAGE = "fill-image";
|
---|
49 | /**
|
---|
50 | * MapCSS fill-opacity property key
|
---|
51 | */
|
---|
52 | String FILL_OPACITY = "fill-opacity";
|
---|
53 | /**
|
---|
54 | * MapCSS font-family property key
|
---|
55 | */
|
---|
56 | String FONT_FAMILY = "font-family";
|
---|
57 | /**
|
---|
58 | * MapCSS font-size property key
|
---|
59 | */
|
---|
60 | String FONT_SIZE = "font-size";
|
---|
61 | /**
|
---|
62 | * MapCSS font-style property key
|
---|
63 | */
|
---|
64 | String FONT_STYLE = "font-style";
|
---|
65 | /**
|
---|
66 | * MapCSS font-weight property key
|
---|
67 | */
|
---|
68 | String FONT_WEIGHT = "font-weight";
|
---|
69 | /**
|
---|
70 | * MapCSS icon-image property key
|
---|
71 | */
|
---|
72 | String ICON_IMAGE = "icon-image";
|
---|
73 | /**
|
---|
74 | * MapCSS icon-height property key
|
---|
75 | */
|
---|
76 | String ICON_HEIGHT = "icon-height";
|
---|
77 | /**
|
---|
78 | * MapCSS icon-offset-x property key
|
---|
79 | */
|
---|
80 | String ICON_OFFSET_X = "icon-offset-x";
|
---|
81 | /**
|
---|
82 | * MapCSS icon-offset-y property key
|
---|
83 | */
|
---|
84 | String ICON_OFFSET_Y = "icon-offset-y";
|
---|
85 | /**
|
---|
86 | * MapCSS icon-opacity property key
|
---|
87 | */
|
---|
88 | String ICON_OPACITY = "icon-opacity";
|
---|
89 | /**
|
---|
90 | * MapCSS icon-rotation property key
|
---|
91 | */
|
---|
92 | String ICON_ROTATION = "icon-rotation";
|
---|
93 | /**
|
---|
94 | * MapCSS icon-width property key
|
---|
95 | */
|
---|
96 | String ICON_WIDTH = "icon-width";
|
---|
97 | /**
|
---|
98 | * Position of icons on area.
|
---|
99 | */
|
---|
100 | String ICON_POSITION = "icon-position";
|
---|
101 | /**
|
---|
102 | * MapCSS linecap property key
|
---|
103 | */
|
---|
104 | String LINECAP = "linecap";
|
---|
105 | /**
|
---|
106 | * MapCSS linejoin property key
|
---|
107 | */
|
---|
108 | String LINEJOIN = "linejoin";
|
---|
109 | /**
|
---|
110 | * MapCSS major-z-index property key
|
---|
111 | */
|
---|
112 | String MAJOR_Z_INDEX = "major-z-index";
|
---|
113 | /**
|
---|
114 | * MapCSS miterlimit property key
|
---|
115 | */
|
---|
116 | String MITERLIMIT = "miterlimit";
|
---|
117 | /**
|
---|
118 | * MapCSS modifier property key
|
---|
119 | */
|
---|
120 | String MODIFIER = "modifier";
|
---|
121 | /**
|
---|
122 | * MapCSS object-z-index property key
|
---|
123 | */
|
---|
124 | String OBJECT_Z_INDEX = "object-z-index";
|
---|
125 | /**
|
---|
126 | * MapCSS offset property key
|
---|
127 | */
|
---|
128 | String OFFSET = "offset";
|
---|
129 | /**
|
---|
130 | * MapCSS opacity property key
|
---|
131 | */
|
---|
132 | String OPACITY = "opacity";
|
---|
133 | /**
|
---|
134 | * MapCSS real-width property key
|
---|
135 | */
|
---|
136 | String REAL_WIDTH = "real-width";
|
---|
137 | /**
|
---|
138 | * MapCSS repeat-image property key
|
---|
139 | */
|
---|
140 | String REPEAT_IMAGE = "repeat-image";
|
---|
141 | /**
|
---|
142 | * MapCSS repeat-image-align property key
|
---|
143 | */
|
---|
144 | String REPEAT_IMAGE_ALIGN = "repeat-image-align";
|
---|
145 | /**
|
---|
146 | * MapCSS repeat-image-height property key
|
---|
147 | */
|
---|
148 | String REPEAT_IMAGE_HEIGHT = "repeat-image-height";
|
---|
149 | /**
|
---|
150 | * MapCSS repeat-image-offset property key
|
---|
151 | */
|
---|
152 | String REPEAT_IMAGE_OFFSET = "repeat-image-offset";
|
---|
153 | /**
|
---|
154 | * MapCSS repeat-image-opacity property key
|
---|
155 | */
|
---|
156 | String REPEAT_IMAGE_OPACITY = "repeat-image-opacity";
|
---|
157 | /**
|
---|
158 | * MapCSS repeat-image-phase property key
|
---|
159 | */
|
---|
160 | String REPEAT_IMAGE_PHASE = "repeat-image-phase";
|
---|
161 | /**
|
---|
162 | * MapCSS repeat-image-spacing property key
|
---|
163 | */
|
---|
164 | String REPEAT_IMAGE_SPACING = "repeat-image-spacing";
|
---|
165 | /**
|
---|
166 | * MapCSS repeat-image-width property key
|
---|
167 | */
|
---|
168 | String REPEAT_IMAGE_WIDTH = "repeat-image-width";
|
---|
169 | /**
|
---|
170 | * MapCSS text property key
|
---|
171 | */
|
---|
172 | String TEXT = "text";
|
---|
173 | /**
|
---|
174 | * MapCSS text-anchor-horizontal property key
|
---|
175 | */
|
---|
176 | String TEXT_ANCHOR_HORIZONTAL = "text-anchor-horizontal";
|
---|
177 | /**
|
---|
178 | * MapCSS text-anchor-vertical property key
|
---|
179 | */
|
---|
180 | String TEXT_ANCHOR_VERTICAL = "text-anchor-vertical";
|
---|
181 | /**
|
---|
182 | * MapCSS text-color property key
|
---|
183 | */
|
---|
184 | String TEXT_COLOR = "text-color";
|
---|
185 | /**
|
---|
186 | * MapCSS text-halo-color property key
|
---|
187 | */
|
---|
188 | String TEXT_HALO_COLOR = "text-halo-color";
|
---|
189 | /**
|
---|
190 | * MapCSS text-halo-opacity property key
|
---|
191 | */
|
---|
192 | String TEXT_HALO_OPACITY = "text-halo-opacity";
|
---|
193 | /**
|
---|
194 | * MapCSS text-halo-radius property key
|
---|
195 | */
|
---|
196 | String TEXT_HALO_RADIUS = "text-halo-radius";
|
---|
197 | /**
|
---|
198 | * MapCSS text-offset property key
|
---|
199 | */
|
---|
200 | String TEXT_OFFSET = "text-offset";
|
---|
201 | /**
|
---|
202 | * MapCSS text-offset-x property key
|
---|
203 | */
|
---|
204 | String TEXT_OFFSET_X = "text-offset-x";
|
---|
205 | /**
|
---|
206 | * MapCSS text-offset-y property key
|
---|
207 | */
|
---|
208 | String TEXT_OFFSET_Y = "text-offset-y";
|
---|
209 | /**
|
---|
210 | * MapCSS text-opacity property key
|
---|
211 | */
|
---|
212 | String TEXT_OPACITY = "text-opacity";
|
---|
213 | /**
|
---|
214 | * MapCSS text-position property key
|
---|
215 | */
|
---|
216 | String TEXT_POSITION = "text-position";
|
---|
217 | /**
|
---|
218 | * MapCSS way-direction-arrows property key
|
---|
219 | */
|
---|
220 | String WAY_DIRECTION_ARROWS = "way-direction-arrows";
|
---|
221 | /**
|
---|
222 | * MapCSS width property key
|
---|
223 | */
|
---|
224 | String WIDTH = "width";
|
---|
225 | /**
|
---|
226 | * MapCSS z-index property key
|
---|
227 | */
|
---|
228 | String Z_INDEX = "z-index";
|
---|
229 |
|
---|
230 | }
|
---|