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 StyleSourceMapPaintDialog.SaveAsAction.SaveToFileTask. sFields in org.openstreetmap.josm.gui.dialogs with type parameters of type StyleSource Modifier and Type Field Description private java.util.List<StyleSource>MapPaintDialog.StylesModel. dataMethods in org.openstreetmap.josm.gui.dialogs that return StyleSource Modifier and Type Method Description private StyleSourceMapPaintDialog.StylesModel. getRow(int i)Methods in org.openstreetmap.josm.gui.dialogs with parameters of type StyleSource Modifier and Type Method Description private javax.swing.JPanelMapPaintDialog.InfoAction. buildInfoPanel(StyleSource s)private voidMapPaintDialog.InfoAction. buildSourcePanel(StyleSource s, javax.swing.JPanel p)private static java.lang.StringInspectPrimitiveDialog. getSort(StyleSource s)Constructors in org.openstreetmap.josm.gui.dialogs with parameters of type StyleSource Constructor Description SaveToFileTask(StyleSource s, java.io.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 StyleSourceStyleSetting.LabeledStyleSetting. parentStyleStyleSourceEnvironment. sourceThe style source that is evaluatedStyleSourceMapPaintStyles.IconReference. sourceThe style source this reference occurred inprivate StyleSourceMapPaintMenu.MapPaintAction. styleFields in org.openstreetmap.josm.gui.mappaint with type parameters of type StyleSource Modifier and Type Field Description private java.util.List<StyleSource>ElemStyles. styleSourcesMethods in org.openstreetmap.josm.gui.mappaint that return StyleSource Modifier and Type Method Description static StyleSourceMapPaintStyles. addStyle(SourceEntry entry)Add a new map paint style.private static StyleSourceMapPaintStyles. fromSourceEntry(SourceEntry entry)Methods in org.openstreetmap.josm.gui.mappaint that return types with arguments of type StyleSource Modifier and Type Method Description java.util.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) voidElemStyles. add(StyleSource style)add a style source; only accessed from MapPaintStylesstatic StyleSetting.StyleSettingGroupStyleSetting.StyleSettingGroup. create(Cascade c, StyleSource parentStyle, java.lang.String key)Creates a newStyleSettingGroup.static StyleSettingStyleSettingFactory. create(Cascade c, StyleSource parentStyle, java.lang.String key)Creates a newStyleSettingbased on the specified type byc.static java.util.List<java.lang.String>MapPaintStyles. getIconSourceDirs(StyleSource source)Gets the directories that should be searched for iconsstatic javax.swing.ImageIconMapPaintStyles. getNoIconIcon(StyleSource source)No icon with the given name was found, show a dummy icon insteadjava.lang.StringElemStyles. getPreferenceCached(StyleSource source, java.lang.String key, java.lang.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 voidMapPaintStyles. loadStyleForFirstTime(StyleSource source)(package private) booleanElemStyles. remove(StyleSource style)remove a style source; only accessed from MapPaintStylesvoidMapPaintMenu.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) voidElemStyles. setStyleSources(java.util.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, java.lang.String label, AbstractToStringProperty<java.lang.Boolean> property)ColorStyleSetting(StyleSource parentStyle, java.lang.String label, AbstractToStringProperty<java.awt.Color> property)Environment(IPrimitive osm, MultiCascade mc, java.lang.String layer, StyleSource source)Creates a new environment.IconReference(java.lang.String iconName, StyleSource source)Create a newMapPaintStyles.IconReferenceLabeledStyleSetting(StyleSource parentStyle, java.lang.String label)MapPaintAction(StyleSource style)PropertyStyleSetting(StyleSource parentStyle, java.lang.String label, java.lang.Class<T> type, AbstractToStringProperty<T> property)StyleSettingGroup(StyleSource parentStyle, java.lang.String label, java.lang.String key, javax.swing.Icon icon)Constructor parameters in org.openstreetmap.josm.gui.mappaint with type arguments of type StyleSource Constructor Description ElemStyles(java.util.Collection<StyleSource> sources)Constructs a newElemStyleswith 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 java.util.Collection<StyleSource>MapPaintStyleLoader. sourcesConstructor parameters in org.openstreetmap.josm.gui.mappaint.loader with type arguments of type StyleSource Constructor Description MapPaintStyleLoader(java.util.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 classMapCSSStyleSourceThis 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 StyleSourceMapImage. sourceThe StyleSource that registered the imageConstructors in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type StyleSource Constructor Description MapImage(java.lang.String name, StyleSource source)Creates a newMapImageMapImage(java.lang.String name, StyleSource source, boolean autoRescale)Creates a newMapImage
-