[]
        
立即试用
(Showing Draft Content)

Visibility

Enum Class Visibility

java.lang.Object
java.lang.Enum<Visibility>
com.grapecity.documents.excel.Visibility
All Implemented Interfaces:
Serializable, Comparable<Visibility>, Constable

public enum Visibility extends Enum<Visibility>
指定对象是否可见。
  • Enum Constant Details

    • Hidden

      public static final Visibility Hidden
      指定隐藏工作表(用户可以将其设为可见)。
    • Visible

      public static final Visibility Visible
      指定显示工作表。
    • VeryHidden

      public static final Visibility VeryHidden
      指定隐藏对象,这样唯一的使对象再次可见的方法是将此属性设置为True(用户无法使对象可见)。
  • Method Details

    • values

      public static Visibility[] 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 Visibility 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
    • getValue

      public int getValue()
    • forValue

      public static Visibility forValue(int value)