Package io.keikai.api.model
Interface EditableCellStyle
-
- All Superinterfaces:
CellStyle
- All Known Implementing Classes:
EditableCellStyleImpl
@Deprecated public interface EditableCellStyle extends CellStyle
Deprecated.As if release 5.3.0, replaced byRange.CellStyleHelper.builder(CellStyle)
to build an immutable cell styleThis interface allows you to change a cell's style.- Since:
- 3.0.0
- Author:
- dennis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.api.model.CellStyle
CellStyle.Alignment, CellStyle.BorderType, CellStyle.Builder, CellStyle.FillPattern, CellStyle.VerticalAlignment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
setAlignment(CellStyle.Alignment alignment)
Deprecated.Sets horizontal alignment
Note: Spreadsheet(UI display) supports onlyCellStyle.Alignment.LEFT
,CellStyle.Alignment.CENTER
,CellStyle.Alignment.RIGHT
(CellStyle.Alignment.CENTER_SELECTION
will be display asCellStyle.Alignment.CENTER
, Other alignment will be display asCellStyle.Alignment.LEFT
), However you can still set another alignment, the data will still be kept when export.void
setBackColor(Color color)
Deprecated.Sets background-color of a fillvoid
setBorderBottom(CellStyle.BorderType borderType)
Deprecated.Sets bottom border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.void
setBorderBottomColor(Color color)
Deprecated.Sets bottom border color
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
void
setBorderLeft(CellStyle.BorderType borderType)
Deprecated.Sets left border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.void
setBorderLeftColor(Color color)
Deprecated.Sets left border color
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
void
setBorderRight(CellStyle.BorderType borderType)
Deprecated.Sets right border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.void
setBorderRightColor(Color color)
Deprecated.Sets right border color
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
void
setBorderTop(CellStyle.BorderType borderType)
Deprecated.Sets top border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.void
setBorderTopColor(Color color)
Deprecated.Sets top border color.void
setDataFormat(String format)
Deprecated.Sets data formatvoid
setFillColor(Color color)
Deprecated.Sets forground-color of a fill.void
setFillPattern(CellStyle.FillPattern pattern)
Deprecated.Sets the fill/background pattern
Note: Spreadsheet (UI display) supports onlyCellStyle.FillPattern.NONE
andCellStyle.FillPattern.SOLID
(Other pattern will be display as {@link FillPattern#SOLID), However you can still set another pattern, the data will still be kept when export.void
setFont(Font font)
Deprecated.Sets fontvoid
setHidden(boolean hidden)
Deprecated.Sets hiddenvoid
setLocked(boolean locked)
Deprecated.Sets lockedvoid
setVerticalAlignment(CellStyle.VerticalAlignment alignment)
Deprecated.Sets vertical alignment
Note: Spreadsheet(UI display) supports onlyCellStyle.VerticalAlignment.TOP
,CellStyle.VerticalAlignment.CENTER
,CellStyle.VerticalAlignment.TOP
, (Other alignment will be display asCellStyle.VerticalAlignment.BOTTOM
),void
setWrapText(boolean wraptext)
Deprecated.Sets wrap-text-
Methods inherited from interface io.keikai.api.model.CellStyle
getAlignment, getBackColor, getBorderBottom, getBorderBottomColor, getBorderLeft, getBorderLeftColor, getBorderRight, getBorderRightColor, getBorderTop, getBorderTopColor, getDataFormat, getFillColor, getFillPattern, getFont, getVerticalAlignment, isHidden, isLocked, isWrapText
-
-
-
-
Method Detail
-
setFont
void setFont(Font font)
Deprecated.Sets font- Parameters:
font
- the font
-
setBackColor
void setBackColor(Color color)
Deprecated.Sets background-color of a fill- Parameters:
color
- background-color- Since:
- 3.8.1
-
setFillColor
void setFillColor(Color color)
Deprecated.Sets forground-color of a fill.- Parameters:
color
-- Since:
- 3.5.0
-
setFillPattern
void setFillPattern(CellStyle.FillPattern pattern)
Deprecated.Sets the fill/background pattern
Note: Spreadsheet (UI display) supports onlyCellStyle.FillPattern.NONE
andCellStyle.FillPattern.SOLID
(Other pattern will be display as {@link FillPattern#SOLID), However you can still set another pattern, the data will still be kept when export.- Parameters:
pattern
-
-
setAlignment
void setAlignment(CellStyle.Alignment alignment)
Deprecated.Sets horizontal alignment
Note: Spreadsheet(UI display) supports onlyCellStyle.Alignment.LEFT
,CellStyle.Alignment.CENTER
,CellStyle.Alignment.RIGHT
(CellStyle.Alignment.CENTER_SELECTION
will be display asCellStyle.Alignment.CENTER
, Other alignment will be display asCellStyle.Alignment.LEFT
), However you can still set another alignment, the data will still be kept when export.- Parameters:
alignment
-
-
setVerticalAlignment
void setVerticalAlignment(CellStyle.VerticalAlignment alignment)
Deprecated.Sets vertical alignment
Note: Spreadsheet(UI display) supports onlyCellStyle.VerticalAlignment.TOP
,CellStyle.VerticalAlignment.CENTER
,CellStyle.VerticalAlignment.TOP
, (Other alignment will be display asCellStyle.VerticalAlignment.BOTTOM
),- Parameters:
alignment
-
-
setWrapText
void setWrapText(boolean wraptext)
Deprecated.Sets wrap-text- Parameters:
wraptext
- wrap-text
-
setBorderLeft
void setBorderLeft(CellStyle.BorderType borderType)
Deprecated.Sets left border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.- Parameters:
borderType
-
-
setBorderTop
void setBorderTop(CellStyle.BorderType borderType)
Deprecated.Sets top border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.- Parameters:
borderType
-
-
setBorderRight
void setBorderRight(CellStyle.BorderType borderType)
Deprecated.Sets right border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.- Parameters:
borderType
-
-
setBorderBottom
void setBorderBottom(CellStyle.BorderType borderType)
Deprecated.Sets bottom border
Note: Spreadsheet(UI display) only supportsCellStyle.BorderType.NONE
,CellStyle.BorderType.THIN
,CellStyle.BorderType.DOTTED
andCellStyle.BorderType.HAIR
, (CellStyle.BorderType.DASH_DOT
will be display asCellStyle.BorderType.DOTTED
, Other alignment will be display asCellStyle.BorderType.THIN
), However you can still set another alignment, the data will still be kept when export.- Parameters:
borderType
-
-
setBorderTopColor
void setBorderTopColor(Color color)
Deprecated.Sets top border color.
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
- Parameters:
color
-
-
setBorderLeftColor
void setBorderLeftColor(Color color)
Deprecated.Sets left border color
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
- Parameters:
color
-
-
setBorderBottomColor
void setBorderBottomColor(Color color)
Deprecated.Sets bottom border color
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
- Parameters:
color
-
-
setBorderRightColor
void setBorderRightColor(Color color)
Deprecated.Sets right border color
you could useRange.CellStyleHelper.createColorFromHtmlColor(String)
to create aColor
- Parameters:
color
-
-
setDataFormat
void setDataFormat(String format)
Deprecated.Sets data format- Parameters:
format
-
-
setLocked
void setLocked(boolean locked)
Deprecated.Sets locked- Parameters:
locked
-
-
setHidden
void setHidden(boolean hidden)
Deprecated.Sets hidden- Parameters:
hidden
-
-
-