org.openstreetmap.josm.gui.preferences
Class SourceEditor.ExtendedSourceEntry

java.lang.Object
  extended by org.openstreetmap.josm.gui.preferences.SourceEntry
      extended by org.openstreetmap.josm.gui.preferences.SourceEditor.ExtendedSourceEntry
All Implemented Interfaces:
java.lang.Comparable<SourceEditor.ExtendedSourceEntry>
Enclosing class:
SourceEditor

public static class SourceEditor.ExtendedSourceEntry
extends SourceEntry
implements java.lang.Comparable<SourceEditor.ExtendedSourceEntry>


Field Summary
 java.lang.String author
           
 java.lang.String description
           
 java.lang.String link
           
 java.lang.String simpleFileName
           
 java.lang.String version
           
 
Fields inherited from class org.openstreetmap.josm.gui.preferences.SourceEntry
active, name, title, url
 
Constructor Summary
SourceEditor.ExtendedSourceEntry(java.lang.String simpleFileName, java.lang.String url)
           
 
Method Summary
private  void appendRow(java.lang.StringBuilder s, java.lang.String th, java.lang.String td)
           
 int compareTo(SourceEditor.ExtendedSourceEntry o)
           
 java.lang.String getDisplayName()
           
 java.lang.String getTooltip()
           
 java.lang.String toString()
           
 
Methods inherited from class org.openstreetmap.josm.gui.preferences.SourceEntry
equals, getDisplayString, getFileNamePart, getLocalSourceDir, getPrefName, hashCode, isLocal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

simpleFileName

public java.lang.String simpleFileName

version

public java.lang.String version

author

public java.lang.String author

link

public java.lang.String link

description

public java.lang.String description
Constructor Detail

SourceEditor.ExtendedSourceEntry

public SourceEditor.ExtendedSourceEntry(java.lang.String simpleFileName,
                                        java.lang.String url)
Method Detail

getDisplayName

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

appendRow

private void appendRow(java.lang.StringBuilder s,
                       java.lang.String th,
                       java.lang.String td)

getTooltip

public java.lang.String getTooltip()

toString

public java.lang.String toString()
Overrides:
toString in class SourceEntry

compareTo

public int compareTo(SourceEditor.ExtendedSourceEntry o)
Specified by:
compareTo in interface java.lang.Comparable<SourceEditor.ExtendedSourceEntry>


JOSM