Interface ICellDecoration
- All Known Implementing Classes:
CellDecoration
public interface ICellDecoration
表示一种单元格装饰。
ICornerFold cornerFold = new CornerFold(Color.GetRed(), EnumSet.of(CornerPosition.LeftTop), 8);
ICellDecoration decoration = new CellDecoration(cornerFold);
ICornerFold actualCornerFold = decoration.getCornerFold();
-
Method Summary
-
Method Details
-
getCornerFold
获取单元格装饰的折角。
ICornerFold cornerFold = new CornerFold(Color.GetRed(), EnumSet.of(CornerPosition.LeftTop), 8);
ICellDecoration decoration = new CellDecoration(cornerFold);
ICornerFold actualCornerFold = decoration.getCornerFold();
- Returns:
- 单元格装饰的折角。
-
getIcons
获取单元格装饰的图标。
ICellDecorationIcon icon = new CellDecorationIcon(
"data:image/svg+xml;base64,PHN2Zz4=", 12, 12, IconPosition.OutsideRight);
ICellDecoration decoration = new CellDecoration(Collections.singletonList(icon));
List<ICellDecorationIcon> icons = decoration.getIcons();
- Returns:
- 单元格装饰的图标。