Enum Class MultiProgressDialog.TruncationMode

java.lang.Object
java.lang.Enum<MultiProgressDialog.TruncationMode>
ca.corbett.extras.progress.MultiProgressDialog.TruncationMode
All Implemented Interfaces:
Serializable, Comparable<MultiProgressDialog.TruncationMode>, Constable
Enclosing class:
MultiProgressDialog

public static enum MultiProgressDialog.TruncationMode extends Enum<MultiProgressDialog.TruncationMode>
Long progress messages are truncated at a fixed length to avoid rendering problems with very large JLabels on the dialog. By default, we truncate them after a certain length (TruncationMode.END). You can opt to truncate from the start instead by using TruncationMode.START.
  • Enum Constant Details

  • Method Details

    • values

      public static MultiProgressDialog.TruncationMode[] 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 MultiProgressDialog.TruncationMode 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