Package io.keikai.api.model.impl
Class CellStyleImpl
java.lang.Object
io.keikai.api.model.impl.CellStyleImpl
- All Implemented Interfaces:
CellStyle,Serializable
- Direct Known Subclasses:
EditableCellStyleImpl
- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.api.model.CellStyle
CellStyle.Alignment, CellStyle.BorderType, CellStyle.Builder, CellStyle.FillPattern, CellStyle.VerticalAlignment -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_bookRef
-
_styleRef
-
_font
-
-
Constructor Details
-
CellStyleImpl
-
-
Method Details
-
getNative
-
getRef
-
hashCode
public int hashCode() -
equals
-
getFont
-
toString
-
getBackgroundColor
-
getBackColor
- Specified by:
getBackColorin interfaceCellStyle- Returns:
- fill background color
-
getFillColor
- Specified by:
getFillColorin interfaceCellStyle- Returns:
- fill foreground color
-
getFillPattern
Description copied from interface:CellStyleGets the fill/background pattern- Specified by:
getFillPatternin interfaceCellStyle- Returns:
- the fill pattern
-
getAlignment
Description copied from interface:CellStyleGets the horizontal alignment- Specified by:
getAlignmentin interfaceCellStyle- Returns:
- the horizontal alignment
-
getVerticalAlignment
Description copied from interface:CellStyleGets vertical alignment- Specified by:
getVerticalAlignmentin interfaceCellStyle- Returns:
-
isWrapText
public boolean isWrapText()- Specified by:
isWrapTextin interfaceCellStyle- Returns:
- true if wrap-text
-
getBorderLeft
- Specified by:
getBorderLeftin interfaceCellStyle- Returns:
- left border
-
getBorderTop
- Specified by:
getBorderTopin interfaceCellStyle- Returns:
- top border
-
getBorderRight
- Specified by:
getBorderRightin interfaceCellStyle- Returns:
- right border
-
getBorderBottom
- Specified by:
getBorderBottomin interfaceCellStyle- Returns:
- bottom border
-
getBorderTopColor
- Specified by:
getBorderTopColorin interfaceCellStyle- Returns:
- top border color
-
getBorderLeftColor
- Specified by:
getBorderLeftColorin interfaceCellStyle- Returns:
- left border color
-
getBorderBottomColor
- Specified by:
getBorderBottomColorin interfaceCellStyle- Returns:
- bottom border color
-
getBorderRightColor
- Specified by:
getBorderRightColorin interfaceCellStyle- Returns:
- right border color
-
getDataFormat
- Specified by:
getDataFormatin interfaceCellStyle- Returns:
- data format
-
isLocked
public boolean isLocked() -
isHidden
public boolean isHidden() -
getRotation
public int getRotation()- Specified by:
getRotationin interfaceCellStyle- Returns:
- the rotation degree (default: 0) (KEIKAI-745)
-