Package io.keikai.api
Interface Range.CellStyleHelper
- Enclosing interface:
- Range
public static interface Range.CellStyleHelper
a cell style helper to create style relative object for cell
- Author:
- dennis
-
Method Summary
Modifier and TypeMethodDescriptioncreate a new cell style builder and clone attribute from src if it is not nullcreateCellStyle(CellStyle src) Deprecated.createColorFromHtmlColor(String htmlColor) create a color object from a htmlColor expressioncreateFont(Font src) Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)to create an immutable fontfindFont(Font.Boldweight boldweight, Color color, int fontHeight, String fontName, boolean italic, boolean strikeout, Font.TypeOffset typeOffset, Font.Underline underline) Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)to create an immutable fontbooleanisAvailable(CellStyle style) Check if this style still available
-
Method Details
-
builder
create a new cell style builder and clone attribute from src if it is not null- Parameters:
src- the source to clone, could be null- Returns:
- the new cell style
- Since:
- 5.3.0
-
createCellStyle
Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)to create an immutable cell stylecreate a new cell style and clone attribute from src if it is not null- Parameters:
src- the source to clone, could be null- Returns:
- the new cell style
-
createFont
Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)to create an immutable fontcreate a new font and clone attribute from src if it is not null- Parameters:
src- the source to clone, could be null- Returns:
- the new font
-
createColorFromHtmlColor
create a color object from a htmlColor expression- Parameters:
htmlColor- html color expression, ex. #FF00FF- Returns:
- a Color object
-
findFont
@Deprecated Font findFont(Font.Boldweight boldweight, Color color, int fontHeight, String fontName, boolean italic, boolean strikeout, Font.TypeOffset typeOffset, Font.Underline underline) Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)to create an immutable fontfind the font with given condition- Parameters:
boldweight-color-fontHeight-fontName-italic-strikeout-typeOffset-underline-- Returns:
- null if not found
-
isAvailable
Check if this style still available
-
builder(CellStyle)to create an immutable cell style