| Package | Description |
|---|---|
| org.openstreetmap.josm.gui.mappaint | |
| org.openstreetmap.josm.gui.mappaint.mapcss |
| Modifier and Type | Field and Description |
|---|---|
static Cascade |
Cascade.EMPTY_CASCADE |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,Cascade> |
MultiCascade.layers |
| Modifier and Type | Method and Description |
|---|---|
Cascade |
Cascade.clone() |
Cascade |
MultiCascade.getCascade(java.lang.String layer)
Read-only version of getOrCreateCascade.
|
Cascade |
Environment.getCascade(java.lang.String layer) |
Cascade |
MultiCascade.getOrCreateCascade(java.lang.String layer)
Return the cascade with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.util.Map.Entry<java.lang.String,Cascade>> |
MultiCascade.getLayers() |
| Modifier and Type | Method and Description |
|---|---|
protected static LabelCompositionStrategy |
TextElement.buildLabelCompositionStrategy(Cascade c,
boolean defaultAnnotate)
Derives a suitable label composition strategy from the style properties in
c. |
static StyleSetting.BooleanStyleSetting |
StyleSetting.BooleanStyleSetting.create(Cascade c,
StyleSource parentStyle,
java.lang.String key) |
protected static java.awt.Font |
ElemStyle.getFont(Cascade c,
java.lang.String s) |
protected static java.lang.Float |
ElemStyle.getWidth(Cascade c,
java.lang.String key,
java.lang.Float relativeTo)
Get a property value of type Width
|
| Constructor and Description |
|---|
AreaElemStyle(Cascade c,
java.awt.Color color,
MapImage fillImage,
TextElement text) |
BoxTextElemStyle(Cascade c,
TextElement text,
BoxTextElemStyle.BoxProvider boxProvider,
java.awt.Rectangle box,
BoxTextElemStyle.HorizontalTextAlignment hAlign,
BoxTextElemStyle.VerticalTextAlignment vAlign) |
ElemStyle(Cascade c,
float default_major_z_index) |
LineElemStyle(Cascade c,
float default_major_z_index,
java.awt.BasicStroke line,
java.awt.Color color,
java.awt.BasicStroke dashesLine,
java.awt.Color dashesBackground,
float offset,
float realWidth) |
LineTextElemStyle(Cascade c,
TextElement text) |
NodeElemStyle(Cascade c,
MapImage mapImage,
NodeElemStyle.Symbol symbol,
float default_major_z_index) |
RepeatImageElemStyle(Cascade c,
MapImage pattern,
float offset,
float spacing,
float phase,
RepeatImageElemStyle.LineImageAlignment align) |
| Modifier and Type | Method and Description |
|---|---|
private Cascade |
MapCSSStyleSource.constructSpecial(java.lang.String type) |