001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.gui.mappaint; 003 004/** 005 * Interface defining string constants (MapCSS property keys). 006 * 007 * For the implementation of the <code>@supports</code> feature, the list of 008 * supported keys is loaded from this interface using reflection. 009 * @see org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource#evalSupportsDeclCondition(java.lang.String, java.lang.Object) 010 */ 011public interface StyleKeys { 012 013 /** 014 * MapCSS color property key 015 */ 016 String COLOR = "color"; 017 /** 018 * MapCSS dashes property key 019 */ 020 String DASHES = "dashes"; 021 /** 022 * MapCSS dashes-background-color property key 023 */ 024 String DASHES_BACKGROUND_COLOR = "dashes-background-color"; 025 /** 026 * MapCSS dashes-background-opacity property key 027 */ 028 String DASHES_BACKGROUND_OPACITY = "dashes-background-opacity"; 029 /** 030 * MapCSS dashes-offset property key 031 */ 032 String DASHES_OFFSET = "dashes-offset"; 033 /** 034 * MapCSS fill-color property key 035 */ 036 String FILL_COLOR = "fill-color"; 037 /** 038 * MapCSS fill-extent property key 039 */ 040 String FILL_EXTENT = "fill-extent"; 041 /** 042 * MapCSS fill-extent-threshold property key 043 */ 044 String FILL_EXTENT_THRESHOLD = "fill-extent-threshold"; 045 /** 046 * MapCSS fill-image property key 047 */ 048 String FILL_IMAGE = "fill-image"; 049 /** 050 * MapCSS fill-opacity property key 051 */ 052 String FILL_OPACITY = "fill-opacity"; 053 /** 054 * MapCSS font-family property key 055 */ 056 String FONT_FAMILY = "font-family"; 057 /** 058 * MapCSS font-size property key 059 */ 060 String FONT_SIZE = "font-size"; 061 /** 062 * MapCSS font-style property key 063 */ 064 String FONT_STYLE = "font-style"; 065 /** 066 * MapCSS font-weight property key 067 */ 068 String FONT_WEIGHT = "font-weight"; 069 /** 070 * MapCSS icon-image property key 071 */ 072 String ICON_IMAGE = "icon-image"; 073 /** 074 * MapCSS icon-height property key 075 */ 076 String ICON_HEIGHT = "icon-height"; 077 /** 078 * MapCSS icon-offset-x property key 079 */ 080 String ICON_OFFSET_X = "icon-offset-x"; 081 /** 082 * MapCSS icon-offset-y property key 083 */ 084 String ICON_OFFSET_Y = "icon-offset-y"; 085 /** 086 * MapCSS icon-opacity property key 087 */ 088 String ICON_OPACITY = "icon-opacity"; 089 /** 090 * MapCSS icon-rotation property key 091 */ 092 String ICON_ROTATION = "icon-rotation"; 093 /** 094 * MapCSS icon-width property key 095 */ 096 String ICON_WIDTH = "icon-width"; 097 /** 098 * Position of icons on area. 099 */ 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}