Class AbstractProjectionChoice

    • Field Detail

      • name

        protected java.lang.String name
      • id

        protected java.lang.String id
    • Constructor Detail

      • AbstractProjectionChoice

        protected AbstractProjectionChoice​(java.lang.String name,
                                           java.lang.String id)
        Constructs a new AbstractProjectionChoice.
        Parameters:
        name - short name of the projection choice as shown in the GUI
        id - unique identifier for the projection choice
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: ProjectionChoice
        Get a unique id for the projection choice. Will be used to save the user selection to the preference file.
        Specified by:
        getId in interface ProjectionChoice
        Returns:
        the string identifier
      • toString

        public java.lang.String toString()
        Description copied from interface: ProjectionChoice
        Short name of the projection choice as shown in the GUI (combo box).
        Specified by:
        toString in interface ProjectionChoice
        Overrides:
        toString in class java.lang.Object
        Returns:
        the name
      • getCurrentCode

        public abstract java.lang.String getCurrentCode()
        Returns current projection code.
        Returns:
        current projection code
      • getProjectionName

        public abstract java.lang.String getProjectionName()
        Returns projection name.
        Returns:
        projection name