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, waitallCodes, getPreferencePanel, getPreferences, getPreferencesFromCode, setPreferencespublic 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()
ProjectionChoicegetId in interface ProjectionChoicepublic String getCacheDir()
public String toString()
ProjectionChoicetoString in interface ProjectionChoicetoString in class Objectpublic abstract String getCurrentCode()
public abstract String getProjectionName()
public Projection getProjection()
ProjectionChoicegetProjection in interface ProjectionChoice