[]
        
立即试用
(Showing Draft Content)

DataBarAxisPosition

Enum Class DataBarAxisPosition

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

public enum DataBarAxisPosition extends Enum<DataBarAxisPosition>
指定具有数据条条件格式的单元格范围的轴线位置。
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    显示坐标轴在一个基于范围内最小负值与最大正值比率的可变位置。正值从左向右显示,负值从右向左显示。当所有值都是正值或都是负值时,不显示坐标轴。
    显示单元格中点的轴线,无论该范围内的值集如何。正数值从左至右显示,负数值从右至左显示。
    指定不显示任何坐标轴,并且正负值都按从左到右的方向显示。
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • None

      public static final DataBarAxisPosition None
      指定不显示任何坐标轴,并且正负值都按从左到右的方向显示。
    • Automatic

      public static final DataBarAxisPosition Automatic
      显示坐标轴在一个基于范围内最小负值与最大正值比率的可变位置。正值从左向右显示,负值从右向左显示。当所有值都是正值或都是负值时,不显示坐标轴。
    • Midpoint

      public static final DataBarAxisPosition Midpoint
      显示单元格中点的轴线,无论该范围内的值集如何。正数值从左至右显示,负数值从右至左显示。
  • Method Details

    • values

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