Class CodeProjectionChoice

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CodeProjectionChoice.CodeComparator
      Comparator that compares the number part of the code numerically.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String code  
    • Constructor Summary

      Constructors 
      Constructor Description
      CodeProjectionChoice()
      Constructs a new CodeProjectionChoice.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] allCodes()
      Return all projection codes supported by this projection choice.
      java.lang.String getCurrentCode()
      Returns current projection code.
      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.
      java.lang.String getProjectionName()
      Returns projection name.
      void setPreferences​(java.util.Collection<java.lang.String> args)
      Set the internal state to match the preferences.
      boolean showProjectionCode()
      Determines if the projection code should be displayed in the top panel.
      boolean showProjectionName()
      Determines if the projection name should be displayed in the top panel.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait