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 Classes Modifier and Type Interface Description static class
CellStyle.Alignment
The horizontal alignmentstatic class
CellStyle.BorderType
The border typestatic interface
CellStyle.Builder
Cell style builder to create the cell stylestatic class
CellStyle.FillPattern
The fill patternstatic class
CellStyle.VerticalAlignment
The vertical alignment
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CellStyle.Alignment
getAlignment()
Gets the horizontal alignmentColor
getBackColor()
CellStyle.BorderType
getBorderBottom()
Color
getBorderBottomColor()
CellStyle.BorderType
getBorderLeft()
Color
getBorderLeftColor()
CellStyle.BorderType
getBorderRight()
Color
getBorderRightColor()
CellStyle.BorderType
getBorderTop()
Color
getBorderTopColor()
String
getDataFormat()
Color
getFillColor()
CellStyle.FillPattern
getFillPattern()
Gets the fill/background patternFont
getFont()
CellStyle.VerticalAlignment
getVerticalAlignment()
Gets vertical alignmentboolean
isHidden()
boolean
isLocked()
boolean
isWrapText()
-
-
-
Method Detail
-
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
-
-