Uses of Class
org.openstreetmap.josm.gui.mappaint.StyleSource
-
Packages that use StyleSource 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 elseorg.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. -
-
Uses of StyleSource in org.openstreetmap.josm.gui.dialogs
Fields in org.openstreetmap.josm.gui.dialogs declared as StyleSource Modifier and Type Field Description private StyleSource
MapPaintDialog.SaveAsAction.SaveToFileTask. s
Fields in org.openstreetmap.josm.gui.dialogs with type parameters of type StyleSource Modifier and Type Field Description private List<StyleSource>
MapPaintDialog.StylesModel. data
Methods in org.openstreetmap.josm.gui.dialogs that return StyleSource Modifier and Type Method Description private StyleSource
MapPaintDialog.StylesModel. getRow(int i)
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type StyleSource Modifier and Type Method Description private JPanel
MapPaintDialog.InfoAction. buildInfoPanel(StyleSource s)
private void
MapPaintDialog.InfoAction. buildSourcePanel(StyleSource s, JPanel p)
private static String
InspectPrimitiveDialog. getSort(StyleSource s)
Constructors in org.openstreetmap.josm.gui.dialogs with parameters of type StyleSource Constructor Description SaveToFileTask(StyleSource s, File file)
-
Uses of StyleSource in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as StyleSource Modifier and Type Field Description StyleSource
StyleSetting.LabeledStyleSetting. parentStyle
StyleSource
Environment. source
The style source that is evaluatedStyleSource
MapPaintStyles.IconReference. source
The style source this reference occurred inprivate StyleSource
MapPaintMenu.MapPaintAction. style
Fields in org.openstreetmap.josm.gui.mappaint with type parameters of type StyleSource Modifier and Type Field Description private List<StyleSource>
ElemStyles. styleSources
Methods in org.openstreetmap.josm.gui.mappaint that return StyleSource Modifier and Type Method Description static StyleSource
MapPaintStyles. addStyle(SourceEntry entry)
Add a new map paint style.private static StyleSource
MapPaintStyles. fromSourceEntry(SourceEntry entry)
Methods in org.openstreetmap.josm.gui.mappaint that return types with arguments of type StyleSource Modifier and Type Method Description List<StyleSource>
ElemStyles. getStyleSources()
Returns the list of style sources.Methods in org.openstreetmap.josm.gui.mappaint with parameters of type StyleSource Modifier and Type Method Description (package private) void
ElemStyles. add(StyleSource style)
add a style source; only accessed from MapPaintStylesstatic StyleSetting.StyleSettingGroup
StyleSetting.StyleSettingGroup. create(Cascade c, StyleSource parentStyle, String key)
Creates a newStyleSettingGroup
.static StyleSetting
StyleSettingFactory. create(Cascade c, StyleSource parentStyle, String key)
Creates a newStyleSetting
based on the specified type byc
.static List<String>
MapPaintStyles. getIconSourceDirs(StyleSource source)
Gets the directories that should be searched for iconsstatic ImageIcon
MapPaintStyles. getNoIconIcon(StyleSource source)
No icon with the given name was found, show a dummy icon insteadString
ElemStyles. getPreferenceCached(StyleSource source, String key, String def)
Looks up a preference value and ensures the style cache is invalidated as soon as this preference value is changed by the user.private static void
MapPaintStyles. loadStyleForFirstTime(StyleSource source)
(package private) boolean
ElemStyles. remove(StyleSource style)
remove a style source; only accessed from MapPaintStylesvoid
MapPaintMenu.MapPaintAction. setStyle(StyleSource style)
Method parameters in org.openstreetmap.josm.gui.mappaint with type arguments of type StyleSource Modifier and Type Method Description (package private) void
ElemStyles. setStyleSources(Collection<StyleSource> sources)
set the style sources; only accessed from MapPaintStylesConstructors in org.openstreetmap.josm.gui.mappaint with parameters of type StyleSource Constructor Description BooleanStyleSetting(StyleSource parentStyle, String label, AbstractToStringProperty<Boolean> property)
ColorStyleSetting(StyleSource parentStyle, String label, AbstractToStringProperty<Color> property)
Environment(IPrimitive osm, MultiCascade mc, String layer, StyleSource source)
Creates a new environment.IconReference(String iconName, StyleSource source)
Create a newMapPaintStyles.IconReference
LabeledStyleSetting(StyleSource parentStyle, String label)
MapPaintAction(StyleSource style)
PropertyStyleSetting(StyleSource parentStyle, String label, Class<T> type, AbstractToStringProperty<T> property)
StyleSettingGroup(StyleSource parentStyle, String label, String key, Icon icon)
Constructor parameters in org.openstreetmap.josm.gui.mappaint with type arguments of type StyleSource Constructor Description ElemStyles(Collection<StyleSource> sources)
Constructs a newElemStyles
with specific style sources. -
Uses of StyleSource in org.openstreetmap.josm.gui.mappaint.loader
Fields in org.openstreetmap.josm.gui.mappaint.loader with type parameters of type StyleSource Modifier and Type Field Description private Collection<StyleSource>
MapPaintStyleLoader. sources
Constructor parameters in org.openstreetmap.josm.gui.mappaint.loader with type arguments of type StyleSource Constructor Description MapPaintStyleLoader(Collection<StyleSource> sources)
Create a newMapPaintStyleLoader
-
Uses of StyleSource in org.openstreetmap.josm.gui.mappaint.mapcss
Subclasses of StyleSource in org.openstreetmap.josm.gui.mappaint.mapcss Modifier and Type Class Description class
MapCSSStyleSource
This is a mappaint style that is based on MapCSS rules. -
Uses of StyleSource in org.openstreetmap.josm.gui.mappaint.styleelement
Fields in org.openstreetmap.josm.gui.mappaint.styleelement declared as StyleSource Modifier and Type Field Description StyleSource
MapImage. source
The StyleSource that registered the imageConstructors in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type StyleSource Constructor Description MapImage(String name, StyleSource source)
Creates a newMapImage
MapImage(String name, StyleSource source, boolean autoRescale)
Creates a newMapImage
-