|
||||||||||
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 class. |
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. |
Method Detail |
---|
java.lang.String getId()
void setPreferences(java.util.Collection<java.lang.String> args)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |