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 CellStylepublic ColorImpl getBackColor()
getBackColor in interface CellStylepublic ColorImpl getFillColor()
getFillColor in interface CellStylepublic CellStyle.FillPattern getFillPattern()
CellStylegetFillPattern in interface CellStylepublic CellStyle.Alignment getAlignment()
CellStylegetAlignment in interface CellStylepublic CellStyle.VerticalAlignment getVerticalAlignment()
CellStylegetVerticalAlignment in interface CellStylepublic boolean isWrapText()
isWrapText in interface CellStylepublic CellStyle.BorderType getBorderLeft()
getBorderLeft in interface CellStylepublic CellStyle.BorderType getBorderTop()
getBorderTop in interface CellStylepublic CellStyle.BorderType getBorderRight()
getBorderRight in interface CellStylepublic CellStyle.BorderType getBorderBottom()
getBorderBottom in interface CellStylepublic Color getBorderTopColor()
getBorderTopColor in interface CellStylepublic Color getBorderLeftColor()
getBorderLeftColor in interface CellStylepublic Color getBorderBottomColor()
getBorderBottomColor in interface CellStylepublic Color getBorderRightColor()
getBorderRightColor in interface CellStylepublic String getDataFormat()
getDataFormat in interface CellStylepublic boolean isLocked()
Copyright © 2020. All rights reserved.