Package io.keikai.api.model
Interface CellStyle
-
- All Known Subinterfaces:
EditableCellStyle
- All Known Implementing Classes:
CellStyleImpl,EditableCellStyleImpl
public interface CellStyleThis 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 classCellStyle.AlignmentThe horizontal alignmentstatic classCellStyle.BorderTypeThe border typestatic interfaceCellStyle.BuilderCell style builder to create the cell stylestatic classCellStyle.FillPatternThe fill patternstatic classCellStyle.VerticalAlignmentThe vertical alignment
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CellStyle.AlignmentgetAlignment()Gets the horizontal alignmentColorgetBackColor()CellStyle.BorderTypegetBorderBottom()ColorgetBorderBottomColor()CellStyle.BorderTypegetBorderLeft()ColorgetBorderLeftColor()CellStyle.BorderTypegetBorderRight()ColorgetBorderRightColor()CellStyle.BorderTypegetBorderTop()ColorgetBorderTopColor()StringgetDataFormat()ColorgetFillColor()CellStyle.FillPatterngetFillPattern()Gets the fill/background patternFontgetFont()CellStyle.VerticalAlignmentgetVerticalAlignment()Gets vertical alignmentbooleanisHidden()booleanisLocked()booleanisWrapText()
-
-
-
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
-
-