public class CellStyleImpl extends Object implements CellStyle, Serializable
CellStyle.Alignment, CellStyle.BorderType, CellStyle.FillPattern, CellStyle.VerticalAlignment
Modifier and Type | Field and Description |
---|---|
protected ModelRef<SBook> |
_bookRef |
protected FontImpl |
_font |
protected ModelRef<SCellStyle> |
_styleRef |
Constructor and Description |
---|
CellStyleImpl(ModelRef<SBook> book,
ModelRef<SCellStyle> style) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CellStyle.Alignment |
getAlignment()
Gets the horizontal alignment
|
ColorImpl |
getBackColor() |
ColorImpl |
getBackgroundColor() |
CellStyle.BorderType |
getBorderBottom() |
Color |
getBorderBottomColor() |
CellStyle.BorderType |
getBorderLeft() |
Color |
getBorderLeftColor() |
CellStyle.BorderType |
getBorderRight() |
Color |
getBorderRightColor() |
CellStyle.BorderType |
getBorderTop() |
Color |
getBorderTopColor() |
String |
getDataFormat() |
ColorImpl |
getFillColor() |
CellStyle.FillPattern |
getFillPattern()
Gets the fill/background pattern
|
FontImpl |
getFont() |
SCellStyle |
getNative() |
ModelRef<SCellStyle> |
getRef() |
CellStyle.VerticalAlignment |
getVerticalAlignment()
Gets vertical alignment
|
int |
hashCode() |
boolean |
isHidden() |
boolean |
isLocked() |
boolean |
isWrapText() |
String |
toString() |
protected ModelRef<SCellStyle> _styleRef
protected FontImpl _font
public CellStyleImpl(ModelRef<SBook> book, ModelRef<SCellStyle> style)
public SCellStyle getNative()
public ModelRef<SCellStyle> getRef()
public ColorImpl getBackgroundColor()
getBackgroundColor
in interface CellStyle
public ColorImpl getBackColor()
getBackColor
in interface CellStyle
public ColorImpl getFillColor()
getFillColor
in interface CellStyle
public CellStyle.FillPattern getFillPattern()
CellStyle
getFillPattern
in interface CellStyle
public CellStyle.Alignment getAlignment()
CellStyle
getAlignment
in interface CellStyle
public CellStyle.VerticalAlignment getVerticalAlignment()
CellStyle
getVerticalAlignment
in interface CellStyle
public boolean isWrapText()
isWrapText
in interface CellStyle
public CellStyle.BorderType getBorderLeft()
getBorderLeft
in interface CellStyle
public CellStyle.BorderType getBorderTop()
getBorderTop
in interface CellStyle
public CellStyle.BorderType getBorderRight()
getBorderRight
in interface CellStyle
public CellStyle.BorderType getBorderBottom()
getBorderBottom
in interface CellStyle
public Color getBorderTopColor()
getBorderTopColor
in interface CellStyle
public Color getBorderLeftColor()
getBorderLeftColor
in interface CellStyle
public Color getBorderBottomColor()
getBorderBottomColor
in interface CellStyle
public Color getBorderRightColor()
getBorderRightColor
in interface CellStyle
public String getDataFormat()
getDataFormat
in interface CellStyle
public boolean isLocked()
Copyright © 2020. All rights reserved.