org.openstreetmap.josm.gui.preferences.projection
Class AbstractProjectionChoice

java.lang.Object
  extended by org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
All Implemented Interfaces:
ProjectionChoice
Direct Known Subclasses:
CustomProjectionChoice, ListProjectionChoice

public abstract class AbstractProjectionChoice
extends java.lang.Object
implements ProjectionChoice


Field Summary
private  java.lang.String id
           
private  java.lang.String name
           
 
Constructor Summary
AbstractProjectionChoice(java.lang.String id, java.lang.String name)
           
 
Method Summary
 java.lang.String getId()
          Get a unique id for the projection choice.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openstreetmap.josm.gui.preferences.projection.ProjectionChoice
allCodes, getPreferencePanel, getPreferences, getPreferencesFromCode, getProjection, setPreferences
 

Field Detail

id

private java.lang.String id

name

private java.lang.String name
Constructor Detail

AbstractProjectionChoice

public AbstractProjectionChoice(java.lang.String id,
                                java.lang.String name)
Method Detail

getId

public java.lang.String getId()
Description copied from interface: ProjectionChoice
Get a unique id for the projection choice.

Specified by:
getId in interface ProjectionChoice

toString

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


JOSM