Package io.keikai.api.model
Interface CellStyle
- All Known Subinterfaces:
EditableCellStyle
- All Known Implementing Classes:
CellStyleImpl,EditableCellStyleImpl
public interface CellStyle
This interface provides access to "style" part of a cell including alignment, border, font, formant, and color.
- Since:
- 3.0.0
- Author:
- dennis
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe horizontal alignmentstatic enumThe border typestatic interfaceCell style builder to create the cell stylestatic enumThe fill patternstatic enumThe vertical alignment -
Method Summary
-
Method Details
-
getFont
Font getFont()- Returns:
- the font
-
getFillColor
Color getFillColor()- Returns:
- fill foreground color
- Since:
- 3.5.0
-
getBackColor
Color getBackColor()- Returns:
- fill background color
- Since:
- 3.6.0
-
getFillPattern
CellStyle.FillPattern getFillPattern()Gets the fill/background pattern- Returns:
- the fill pattern
-
getAlignment
CellStyle.Alignment getAlignment()Gets the horizontal alignment- Returns:
- the horizontal alignment
-
getVerticalAlignment
CellStyle.VerticalAlignment getVerticalAlignment()Gets vertical alignment- Returns:
-
isWrapText
boolean isWrapText()- Returns:
- true if wrap-text
-
getBorderLeft
CellStyle.BorderType getBorderLeft()- Returns:
- left border
-
getBorderTop
CellStyle.BorderType getBorderTop()- Returns:
- top border
-
getBorderRight
CellStyle.BorderType getBorderRight()- Returns:
- right border
-
getBorderBottom
CellStyle.BorderType getBorderBottom()- Returns:
- bottom border
-
getBorderTopColor
Color getBorderTopColor()- Returns:
- top border color
-
getBorderLeftColor
Color getBorderLeftColor()- Returns:
- left border color
-
getBorderBottomColor
Color getBorderBottomColor()- Returns:
- bottom border color
-
getBorderRightColor
Color getBorderRightColor()- Returns:
- right border color
-
getDataFormat
String getDataFormat()- Returns:
- data format
-
isLocked
boolean isLocked()- Returns:
- true if locked
-
isHidden
boolean isHidden()- Returns:
- true if hidden
-
getRotation
int getRotation()- Returns:
- the rotation degree (default: 0) (KEIKAI-745)
- Since:
- 6.2.0
-