public abstract class AbstractProjectionChoice extends Object implements ProjectionChoice
Modifier and Type | Field and Description |
---|---|
protected String |
cacheDir |
protected String |
id |
protected String |
name |
Constructor and Description |
---|
AbstractProjectionChoice(String name,
String id)
Constructor (without cacheDir argument).
|
AbstractProjectionChoice(String name,
String id,
String cacheDir)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCacheDir() |
abstract String |
getCurrentCode() |
String |
getId()
Get a unique id for the projection choice.
|
Projection |
getProjection()
Get the projection that matches the internal state.
|
abstract String |
getProjectionName() |
String |
toString()
Short name of the projection choice as shown in the GUI (combo box).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allCodes, getPreferencePanel, getPreferences, getPreferencesFromCode, setPreferences
public AbstractProjectionChoice(String name, String id, String cacheDir)
name
- short name of the projection choice as shown in the GUIid
- unique identifier for the projection choicecacheDir
- a cache directory namepublic AbstractProjectionChoice(String name, String id)
public String getId()
ProjectionChoice
getId
in interface ProjectionChoice
public String getCacheDir()
public String toString()
ProjectionChoice
toString
in interface ProjectionChoice
toString
in class Object
public abstract String getCurrentCode()
public abstract String getProjectionName()
public Projection getProjection()
ProjectionChoice
getProjection
in interface ProjectionChoice