Enum AutoScaleAction.AutoScaleMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CONFLICT
      Zoom to the first selected conflict
      DATA
      Zoom the window so that all the data fills the window area
      DOWNLOAD
      Zoom the view to last downloaded data
      LAYER
      Zoom the window so that all the data on the currently selected layer fills the window area
      NEXT
      Zoom to the next zoomed to scale and location (zoom redo)
      PREVIOUS
      Zoom to the previous zoomed to scale and location (zoom undo)
      PROBLEM
      Zoom the view to problem
      SELECTION
      Zoom the window so that only data which is currently selected fills the window area
    • Field Summary

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

      Constructors 
      Modifier Constructor Description
      private AutoScaleMode​(java.lang.String label)  
    • Field Detail

      • label

        private final java.lang.String label
    • Constructor Detail

      • AutoScaleMode

        private AutoScaleMode​(java.lang.String label)
    • Method Detail

      • values

        public static AutoScaleAction.AutoScaleMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AutoScaleAction.AutoScaleMode c : AutoScaleAction.AutoScaleMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AutoScaleAction.AutoScaleMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getEnglishLabel

        public java.lang.String getEnglishLabel()
        Returns the English label. Used for retrieving icons.
        Returns:
        the English label
      • getLocalizedLabel

        public java.lang.String getLocalizedLabel()
        Returns the localized label. Used for display
        Returns:
        the localized label
      • of

        public static AutoScaleAction.AutoScaleMode of​(java.lang.String englishLabel)
        Returns AutoScaleMode for a given English label
        Parameters:
        englishLabel - English label
        Returns:
        AutoScaleMode for given English label
        Throws:
        java.lang.IllegalArgumentException - if English label is unknown