接口 IOutlineColumn
public interface IOutlineColumn
Represents the outline column for the worksheet.
-
方法概要
修饰符和类型方法说明boolean
getCheckStatus
(int row) Gets the check status of the row.boolean
getCollapsed
(int row) Gets the collapsed of the row.Gets the expand collapse image.int
Gets the column index, the column is displayed as a tree structure.Gets the expand indicator image.int
Gets the the max row level.boolean
Gets whether to display the checkbox.boolean
Gets whether to display the images.boolean
Gets whether to display the indicator.void
refresh()
Refreshes the outline column.void
setCheckStatus
(int row, boolean checkStatus) Sets the check status of the row.void
setCollapsed
(int row, boolean collapsed) Sets the collapsed of the row.void
setCollapseIndicator
(ImageSource value) Sets the expand collapse image.void
setColumnIndex
(int value) Sets the column index, the column is displayed as a tree structure.void
setExpandIndicator
(ImageSource value) Sets the expand indicator image.void
setMaxLevel
(int value) Sets the the max row level.void
setShowCheckBox
(boolean value) Sets whether to display the checkbox.void
setShowImage
(boolean value) Sets whether to display the images.void
setShowIndicator
(boolean value) Sets whether to display the indicator.
-
方法详细资料
-
getColumnIndex
int getColumnIndex()Gets the column index, the column is displayed as a tree structure. -
setColumnIndex
void setColumnIndex(int value) Sets the column index, the column is displayed as a tree structure. -
getShowImage
boolean getShowImage()Gets whether to display the images. -
setShowImage
void setShowImage(boolean value) Sets whether to display the images. -
getShowCheckBox
boolean getShowCheckBox()Gets whether to display the checkbox. -
setShowCheckBox
void setShowCheckBox(boolean value) Sets whether to display the checkbox. -
getShowIndicator
boolean getShowIndicator()Gets whether to display the indicator. -
setShowIndicator
void setShowIndicator(boolean value) Sets whether to display the indicator. -
getMaxLevel
int getMaxLevel()Gets the the max row level. The default value is 10. -
setMaxLevel
void setMaxLevel(int value) Sets the the max row level. -
getExpandIndicator
ImageSource getExpandIndicator()Gets the expand indicator image. -
setExpandIndicator
Sets the expand indicator image. -
getCollapseIndicator
ImageSource getCollapseIndicator()Gets the expand collapse image. -
setCollapseIndicator
Sets the expand collapse image. -
setCheckStatus
void setCheckStatus(int row, boolean checkStatus) Sets the check status of the row.- 参数:
row
- The index of the row.checkStatus
- The check status of the row.
-
getCheckStatus
boolean getCheckStatus(int row) Gets the check status of the row.- 参数:
row
- The index of the row.- 返回:
- Whether the specified row is checked.
-
setCollapsed
void setCollapsed(int row, boolean collapsed) Sets the collapsed of the row.- 参数:
row
- The index of the row.collapsed
- The collapsed of the row.
-
getCollapsed
boolean getCollapsed(int row) Gets the collapsed of the row.- 参数:
row
- The index of the row to get collapsed.- 返回:
- Whether the specified row is collapsed.
-
refresh
void refresh()Refreshes the outline column.
-