|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProjectionChoice
This class offers a choice of projections to the user. It can display a GUI panel, in order to select the parameters.
| Method Summary | |
|---|---|
java.lang.String[] |
allCodes()
Return all projection codes supported by this projection choice. |
java.lang.String |
getId()
Get a unique id for the projection choice. |
javax.swing.JPanel |
getPreferencePanel(java.awt.event.ActionListener listener)
Generate and provide the GUI. |
java.util.Collection<java.lang.String> |
getPreferences(javax.swing.JPanel panel)
Extract preferences from the GUI. |
java.util.Collection<java.lang.String> |
getPreferencesFromCode(java.lang.String code)
Get Preferences from projection code. |
Projection |
getProjection()
Get the projection that matches the internal state. |
void |
setPreferences(java.util.Collection<java.lang.String> args)
Set the internal state to match the preferences. |
java.lang.String |
toString()
Short name of the projection choice as shown in the GUI (combo box). |
| Method Detail |
|---|
java.lang.String getId()
void setPreferences(java.util.Collection<java.lang.String> args)
args - preferences as a list of strings; may be null
to reset everything.Projection getProjection()
javax.swing.JPanel getPreferencePanel(java.awt.event.ActionListener listener)
listener - listener for any change of preferences
java.util.Collection<java.lang.String> getPreferences(javax.swing.JPanel panel)
java.lang.String[] allCodes()
java.util.Collection<java.lang.String> getPreferencesFromCode(java.lang.String code)
java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||