Enum Class NumberingStrategy

java.lang.Object
java.lang.Enum<NumberingStrategy>
slash.navigation.common.NumberingStrategy
All Implemented Interfaces:
Serializable, Comparable<NumberingStrategy>, Constable

public enum NumberingStrategy extends Enum<NumberingStrategy>
Enumeration of the strategies where the Index 1 is for adding numbers to the descriptions of positions. Absolute_Position_Within_Position_List: First position of the position list Relative_Position_In_Current_Selection: First position of the current selection
Author:
Christian Pesch
  • Enum Constant Details

    • Absolute_Position_Within_Position_List

      public static final NumberingStrategy Absolute_Position_Within_Position_List
    • Relative_Position_In_Current_Selection

      public static final NumberingStrategy Relative_Position_In_Current_Selection
  • Method Details

    • values

      public static NumberingStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NumberingStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null