Enum Class SkeletonOptions.Depth

java.lang.Object
java.lang.Enum<SkeletonOptions.Depth>
org.vaadin.addons.skeleton.SkeletonOptions.Depth
All Implemented Interfaces:
Serializable, Comparable<SkeletonOptions.Depth>, Constable
Enclosing class:
SkeletonOptions

public static enum SkeletonOptions.Depth extends Enum<SkeletonOptions.Depth>
Which elements get their own placeholder block.
  • Enum Constant Details

    • LEAVES

      public static final SkeletonOptions.Depth LEAVES
      Walk nested layouts and draw one block per leaf component (default). A form inside a card inside a layout becomes individual field-shaped blocks.
    • CHILDREN

      public static final SkeletonOptions.Depth CHILDREN
      Draw one block per direct child of the container, without descending.
  • Method Details

    • values

      public static SkeletonOptions.Depth[] 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 SkeletonOptions.Depth 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