Enum Class BoxFit

java.lang.Object
java.lang.Enum<BoxFit>
io.lenra.app.components.styles.BoxFit
All Implemented Interfaces:
Serializable, Comparable<BoxFit>, Constable

@Generated("JSON Schema") public enum BoxFit extends Enum<BoxFit>
  • Enum Constant Details

    • CONTAIN

      public static final BoxFit CONTAIN
    • COVER

      public static final BoxFit COVER
    • FILL

      public static final BoxFit FILL
    • FIT_HEIGHT

      public static final BoxFit FIT_HEIGHT
    • FIT_WIDTH

      public static final BoxFit FIT_WIDTH
    • NONE

      public static final BoxFit NONE
    • SCALE_DOWN

      public static final BoxFit SCALE_DOWN
  • Method Details

    • values

      public static BoxFit[] 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 BoxFit 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