Enum Class FillType

java.lang.Object
java.lang.Enum<FillType>
at.bestsolution.uia.FillType
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<FillType>, Constable

public enum FillType extends Enum<FillType> implements INativeEnum
Contains values for the FillType attribute.
  • Enum Constant Details

    • None

      public static final FillType None
      The element is not filled.
    • Color

      public static final FillType Color
      The element is filled with a solid color.
    • Gradient

      public static final FillType Gradient
      The element is filled with a gradient.
    • Picture

      public static final FillType Picture
      The element is filled using a picture.
    • Pattern

      public static final FillType Pattern
      The element is filled using a pattern.
  • Method Details

    • values

      public static FillType[] 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 FillType 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
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<FillType> fromNativeValue(int nativeValue)