Enum Class SimpleProgressDialog.Type

java.lang.Object
java.lang.Enum<SimpleProgressDialog.Type>
eltos.simpledialogfragment.SimpleProgressDialog.Type
All Implemented Interfaces:
Serializable, Comparable<SimpleProgressDialog.Type>, Constable
Enclosing class:
SimpleProgressDialog

public static enum SimpleProgressDialog.Type extends Enum<SimpleProgressDialog.Type>
Enum for various progress bar types. Can be set via SimpleProgressDialog.type(Type) Please note that some features might not be available depending on the chosen type
  • Enum Constant Details

    • BAR

      public static final SimpleProgressDialog.Type BAR
      A horizontal progress bar R.layout.simpledialogfragment_progress
    • CIRCLE

      public static final SimpleProgressDialog.Type CIRCLE
      A circle (only indeterminate) R.layout.simpledialogfragment_progress_circle
  • Method Details

    • values

      public static SimpleProgressDialog.Type[] 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 SimpleProgressDialog.Type 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