类 RadioButtonListCellType

java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.RadioButtonListCellType

public class RadioButtonListCellType extends BaseCellType
  • 构造器详细资料

    • RadioButtonListCellType

      public RadioButtonListCellType()
  • 方法详细资料

    • getItems

      public ArrayList<SelectFieldItem> getItems()
      获取单选按钮列表的项目。
      返回:
      单选按钮项的列表。
    • getDirection

      public CellTypeDirection getDirection()
      获取单选按钮列表的排列方向。
      返回:
      单选按钮列表的排列方向,例如水平或垂直。
    • setDirection

      public void setDirection(CellTypeDirection direction)
      设置单选按钮列表的排列方向。
      参数:
      direction - 单选按钮列表应该排列的方向。
    • getIsFlowLayout

      public boolean getIsFlowLayout()
      获取单选按钮列表的布局是否自适应。
      返回:
      如果单选按钮列表的布局是自适应的,则为 true,否则为 false。
    • setIsFlowLayout

      public void setIsFlowLayout(boolean isFlowLayout)
      设置单选按钮列表的布局为自动适配。
      参数:
      isFlowLayout - 如果单选按钮列表的布局是自适应的,则为 true,否则为 false。
    • getTextAlign

      public CellTypeTextAlign getTextAlign()
      获取单选按钮列表位置的文字,仅支持左右。
      返回:
      单选按钮列表的文本对齐方式,例如左对齐或右对齐。
    • setTextAlign

      public void setTextAlign(CellTypeTextAlign textAlign)
      设置单选按钮列表的位置文本,只支持左对齐和右对齐。
      参数:
      textAlign - 单选按钮列表的文本对齐方式。
    • setMaxRowCount

      public void setMaxRowCount(int maxRowCount)
      设置单选按钮列表的行项目数。
      参数:
      maxRowCount - 单选按钮列表的最大行数。
    • getMaxRowCount

      public int getMaxRowCount()
      获取单选按钮列表行数的项。
      返回:
      单选按钮列表的最大行数。
    • setMaxColumnCount

      public void setMaxColumnCount(int maxColumnCount)
      设置单选按钮列表的行项。
      参数:
      maxColumnCount - 单选按钮列表的最大列数。
    • getMaxColumnCount

      public int getMaxColumnCount()
      获取单选按钮列表行数的项。
      返回:
      单选按钮列表的最大列数。
    • setHorizontalSpacing

      public void setHorizontalSpacing(int horizontalSpacing)
      设置单选按钮列表中的水平间距。
      参数:
      horizontalSpacing - 单选按钮列表中的水平间距。
    • getHorizontalSpacing

      public int getHorizontalSpacing()
      获取单选按钮列表中的水平间距。
    • setVerticalSpacing

      public void setVerticalSpacing(int verticalSpacing)
      设置单选按钮列表中的垂直间距。
      参数:
      verticalSpacing - 单选按钮列表中的垂直间距。
    • getVerticalSpacing

      public int getVerticalSpacing()
      获取单选按钮列表中的垂直间距。
    • getBoxSize

      public int getBoxSize()
      获取复选框大小的值。
    • setBoxSize

      public void setBoxSize(int value)
      设置一个值,表示复选框的大小。
    • getAutoBoxSize

      public boolean getAutoBoxSize()
      设置是否随字体大小改变框大小。
    • setAutoBoxSize

      public void setAutoBoxSize(boolean value)
      设置 boxSize 是否随字体大小变化。