Package com.grapecity.documents.excel
Class CellDecorationIcon
java.lang.Object
com.grapecity.documents.excel.CellDecorationIcon
- All Implemented Interfaces:
ICellDecorationIcon
表示单元格装饰的图标。
-
Constructor Summary
ConstructorsConstructorDescriptionCellDecorationIcon(String src, int width, int height, IconPosition position) 创建一个新的DecorationIcon类实例。 -
Method Summary
-
Constructor Details
-
CellDecorationIcon
创建一个新的DecorationIcon类实例。- Parameters:
src- 图标的内容字符串。width- 图标的宽度(以像素为单位)。height- 图标的高度(以像素为单位)。position- 图标的位置。
-
-
Method Details
-
getSrc
获取图标的内容字符串。- Specified by:
getSrcin interfaceICellDecorationIcon
-
getWidth
public int getWidth()获取图标的宽度。- Specified by:
getWidthin interfaceICellDecorationIcon
-
getHeight
public int getHeight()获取图标的高度。- Specified by:
getHeightin interfaceICellDecorationIcon
-
getPosition
获取图标的位置。- Specified by:
getPositionin interfaceICellDecorationIcon
-