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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CellStyle.Builder
builder(CellStyle src)
create a new cell style builder and clone attribute from src if it is not nullEditableCellStyle
createCellStyle(CellStyle src)
Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)
to create an immutable cell styleColor
createColorFromHtmlColor(String htmlColor)
create a color object from a htmlColor expressionEditableFont
createFont(Font src)
Deprecated.As if release 5.3.0, replaced bybuilder(CellStyle)
to create an immutable fontFont
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 fontboolean
isAvailable(CellStyle style)
Check if this style still available
-
-
-
Method Detail
-
builder
CellStyle.Builder builder(CellStyle src)
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 EditableCellStyle createCellStyle(CellStyle src)
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 EditableFont createFont(Font src)
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
Color createColorFromHtmlColor(String htmlColor)
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
boolean isAvailable(CellStyle style)
Check if this style still available
-
-