Package | Description |
---|---|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.mappaint |
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time. |
org.openstreetmap.josm.gui.mappaint.loader |
Provides the GUI classes allowing map paint styles to be (re)loaded.
|
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.mappaint.styleelement |
Style elements defining how a map paint style is rendered.
|
Modifier and Type | Field and Description |
---|---|
private StyleSource |
MapPaintDialog.SaveAsAction.SaveToFileTask.s |
Modifier and Type | Field and Description |
---|---|
private java.util.List<StyleSource> |
MapPaintDialog.StylesModel.data |
Modifier and Type | Method and Description |
---|---|
private StyleSource |
MapPaintDialog.StylesModel.getRow(int i) |
Modifier and Type | Method and Description |
---|---|
private javax.swing.JPanel |
MapPaintDialog.InfoAction.buildInfoPanel(StyleSource s) |
private void |
MapPaintDialog.InfoAction.buildSourcePanel(StyleSource s,
javax.swing.JPanel p) |
private static java.lang.String |
InspectPrimitiveDialog.getSort(StyleSource s) |
Constructor and Description |
---|
SaveToFileTask(StyleSource s,
java.io.File file) |
Modifier and Type | Field and Description |
---|---|
StyleSource |
StyleSetting.BooleanStyleSetting.parentStyle |
StyleSource |
MapPaintStyles.IconReference.source
The style source this reference occurred in
|
StyleSource |
Environment.source
The style source that is evaluated
|
private StyleSource |
MapPaintMenu.MapPaintAction.style |
Modifier and Type | Field and Description |
---|---|
private java.util.List<StyleSource> |
ElemStyles.styleSources |
Modifier and Type | Method and Description |
---|---|
static StyleSource |
MapPaintStyles.addStyle(SourceEntry entry)
Add a new map paint style.
|
private static StyleSource |
MapPaintStyles.fromSourceEntry(SourceEntry entry) |
Modifier and Type | Method and Description |
---|---|
java.util.List<StyleSource> |
ElemStyles.getStyleSources()
Returns the list of style sources.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ElemStyles.add(StyleSource style)
add a style source; only accessed from MapPaintStyles
|
static StyleSetting.BooleanStyleSetting |
StyleSetting.BooleanStyleSetting.create(Cascade c,
StyleSource parentStyle,
java.lang.String key) |
static java.util.List<java.lang.String> |
MapPaintStyles.getIconSourceDirs(StyleSource source)
Gets the directories that should be searched for icons
|
static javax.swing.ImageIcon |
MapPaintStyles.getNoIconIcon(StyleSource source)
No icon with the given name was found, show a dummy icon instead
|
private static void |
MapPaintStyles.loadStyleForFirstTime(StyleSource source) |
(package private) boolean |
ElemStyles.remove(StyleSource style)
remove a style source; only accessed from MapPaintStyles
|
void |
MapPaintMenu.MapPaintAction.setStyle(StyleSource style) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
ElemStyles.setStyleSources(java.util.Collection<StyleSource> sources)
set the style sources; only accessed from MapPaintStyles
|
Constructor and Description |
---|
BooleanStyleSetting(StyleSource parentStyle,
java.lang.String prefKey,
java.lang.String label,
boolean def) |
Environment(IPrimitive osm,
MultiCascade mc,
java.lang.String layer,
StyleSource source)
Creates a new environment.
|
IconReference(java.lang.String iconName,
StyleSource source)
Create a new
MapPaintStyles.IconReference |
MapPaintAction(StyleSource style) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<StyleSource> |
MapPaintStyleLoader.sources |
Constructor and Description |
---|
MapPaintStyleLoader(java.util.Collection<StyleSource> sources)
Create a new
MapPaintStyleLoader |
Modifier and Type | Class and Description |
---|---|
class |
MapCSSStyleSource
This is a mappaint style that is based on MapCSS rules.
|
Modifier and Type | Field and Description |
---|---|
StyleSource |
MapImage.source
The StyleSource that registered the image
|
Constructor and Description |
---|
MapImage(java.lang.String name,
StyleSource source)
Creates a new
MapImage |
MapImage(java.lang.String name,
StyleSource source,
boolean autoRescale)
Creates a new
MapImage |