类 RadioButtonListCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.RadioButtonListCellType
-
构造器概要
-
方法概要
修饰符和类型方法说明boolean
设置是否随字体大小改变框大小。int
获取复选框大小的值。获取单选按钮列表的排列方向。int
获取单选按钮列表中的水平间距。boolean
获取单选按钮列表的布局是否自适应。getItems()
获取单选按钮列表的项目。int
获取单选按钮列表行数的项。int
获取单选按钮列表行数的项。获取单选按钮列表位置的文字,仅支持左右。int
获取单选按钮列表中的垂直间距。void
setAutoBoxSize
(boolean value) 设置 boxSize 是否随字体大小变化。void
setBoxSize
(int value) 设置一个值,表示复选框的大小。void
setDirection
(CellTypeDirection direction) 设置单选按钮列表的排列方向。void
setHorizontalSpacing
(int horizontalSpacing) 设置单选按钮列表中的水平间距。void
setIsFlowLayout
(boolean isFlowLayout) 设置单选按钮列表的布局为自动适配。void
setMaxColumnCount
(int maxColumnCount) 设置单选按钮列表的行项。void
setMaxRowCount
(int maxRowCount) 设置单选按钮列表的行项目数。void
setTextAlign
(CellTypeTextAlign textAlign) 设置单选按钮列表的位置文本,只支持左对齐和右对齐。void
setVerticalSpacing
(int verticalSpacing) 设置单选按钮列表中的垂直间距。
-
构造器详细资料
-
RadioButtonListCellType
public RadioButtonListCellType()
-
-
方法详细资料
-
getItems
获取单选按钮列表的项目。- 返回:
- 单选按钮项的列表。
-
getDirection
获取单选按钮列表的排列方向。- 返回:
- 单选按钮列表的排列方向,例如水平或垂直。
-
setDirection
设置单选按钮列表的排列方向。- 参数:
direction
- 单选按钮列表应该排列的方向。
-
getIsFlowLayout
public boolean getIsFlowLayout()获取单选按钮列表的布局是否自适应。- 返回:
- 如果单选按钮列表的布局是自适应的,则为 true,否则为 false。
-
setIsFlowLayout
public void setIsFlowLayout(boolean isFlowLayout) 设置单选按钮列表的布局为自动适配。- 参数:
isFlowLayout
- 如果单选按钮列表的布局是自适应的,则为 true,否则为 false。
-
getTextAlign
获取单选按钮列表位置的文字,仅支持左右。- 返回:
- 单选按钮列表的文本对齐方式,例如左对齐或右对齐。
-
setTextAlign
设置单选按钮列表的位置文本,只支持左对齐和右对齐。- 参数:
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 是否随字体大小变化。
-