Enum Clear

java.lang.Object
java.lang.Enum<Clear>
org.ofdrw.layout.element.Clear
All Implemented Interfaces:
Serializable, Comparable<Clear>, java.lang.constant.Constable

public enum Clear extends Enum<Clear>
对段的占用情况
Since:
2020-02-03 01:01:38
Author:
权观宇
  • Enum Constant Details

    • none

      public static final Clear none
      共享: 两侧都允许出现元素。
    • left

      public static final Clear left
      左侧不允许出现元素
    • both

      public static final Clear both
      两侧不允许出现元素

      默认值

  • Method Details

    • values

      public static Clear[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Clear valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null