Class ExtendedSourceEntry

    • Field Detail

      • simpleFileName

        public java.lang.String simpleFileName
        file name used for display
      • version

        public java.lang.String version
        version used for display
      • author

        public java.lang.String author
        author name used for display
      • link

        public java.lang.String link
        webpage link used for display
      • description

        public java.lang.String description
        short description used for display
      • styleType

        public java.lang.String styleType
        Style type: can only have one value: "xml". Used to filter out old XML styles. For MapCSS styles, the value is not set.
      • minJosmVersion

        public java.lang.Integer minJosmVersion
        minimum JOSM version required to enable this source entry
    • Constructor Detail

      • ExtendedSourceEntry

        public ExtendedSourceEntry​(SourceType type,
                                   java.lang.String simpleFileName,
                                   java.lang.String url)
        Constructs a new ExtendedSourceEntry.
        Parameters:
        type - type of source entry
        simpleFileName - file name used for display
        url - URL that CachedFile understands
        Since:
        12825
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Returns string representation for GUI list or menu entry.
        Returns:
        string representation for GUI list or menu entry
      • appendRow

        private static void appendRow​(java.lang.StringBuilder s,
                                      java.lang.String th,
                                      java.lang.String td)
      • getTooltip

        public java.lang.String getTooltip()
        Returns a tooltip containing available metadata.
        Returns:
        a tooltip containing available metadata