public class NamedStyleImpl extends Object implements SNamedStyle, Serializable
SCellStyle.Alignment, SCellStyle.VerticalAlignment
FORMAT_GENERAL
Constructor and Description |
---|
NamedStyleImpl(String name,
boolean custom,
int builtinId,
SBook book,
int index) |
public SColor getFillColor()
getFillColor
in interface SCellStyle
public SColor getBackColor()
getBackColor
in interface SCellStyle
public SFill.FillPattern getFillPattern()
SCellStyle
getFillPattern
in interface SCellStyle
public SCellStyle.Alignment getAlignment()
SCellStyle
getAlignment
in interface SCellStyle
public SCellStyle.VerticalAlignment getVerticalAlignment()
SCellStyle
getVerticalAlignment
in interface SCellStyle
public boolean isWrapText()
isWrapText
in interface SCellStyle
public SBorder.BorderType getBorderLeft()
getBorderLeft
in interface SCellStyle
public SBorder.BorderType getBorderTop()
getBorderTop
in interface SCellStyle
public SBorder.BorderType getBorderRight()
getBorderRight
in interface SCellStyle
public SBorder.BorderType getBorderBottom()
getBorderBottom
in interface SCellStyle
public SColor getBorderTopColor()
getBorderTopColor
in interface SCellStyle
public SColor getBorderLeftColor()
getBorderLeftColor
in interface SCellStyle
public SColor getBorderBottomColor()
getBorderBottomColor
in interface SCellStyle
public SColor getBorderRightColor()
getBorderRightColor
in interface SCellStyle
public String getDataFormat()
getDataFormat
in interface SCellStyle
public boolean isDirectDataFormat()
isDirectDataFormat
in interface SCellStyle
public boolean isLocked()
isLocked
in interface SCellStyle
public boolean isHidden()
isHidden
in interface SCellStyle
public void setFillColor(SColor fillColor)
setFillColor
in interface SCellStyle
public void setBackgroundColor(SColor backColor)
setBackgroundColor
in interface SCellStyle
public void setBackColor(SColor backColor)
setBackColor
in interface SCellStyle
public void setFillPattern(SFill.FillPattern fillPattern)
setFillPattern
in interface SCellStyle
public void setAlignment(SCellStyle.Alignment alignment)
setAlignment
in interface SCellStyle
public void setVerticalAlignment(SCellStyle.VerticalAlignment verticalAlignment)
setVerticalAlignment
in interface SCellStyle
public void setWrapText(boolean wrapText)
setWrapText
in interface SCellStyle
public void setBorderLeft(SBorder.BorderType borderLeft)
setBorderLeft
in interface SCellStyle
public void setBorderLeft(SBorder.BorderType borderLeft, SColor color)
setBorderLeft
in interface SCellStyle
public void setBorderTop(SBorder.BorderType borderTop)
setBorderTop
in interface SCellStyle
public void setBorderTop(SBorder.BorderType borderTop, SColor color)
setBorderTop
in interface SCellStyle
public void setBorderRight(SBorder.BorderType borderRight)
setBorderRight
in interface SCellStyle
public void setBorderRight(SBorder.BorderType borderRight, SColor color)
setBorderRight
in interface SCellStyle
public void setBorderBottom(SBorder.BorderType borderBottom)
setBorderBottom
in interface SCellStyle
public void setBorderBottom(SBorder.BorderType borderBottom, SColor color)
setBorderBottom
in interface SCellStyle
public void setBorderTopColor(SColor borderTopColor)
setBorderTopColor
in interface SCellStyle
public void setBorderLeftColor(SColor borderLeftColor)
setBorderLeftColor
in interface SCellStyle
public void setBorderBottomColor(SColor borderBottomColor)
setBorderBottomColor
in interface SCellStyle
public void setBorderRightColor(SColor borderRightColor)
setBorderRightColor
in interface SCellStyle
public void setDataFormat(String dataFormat)
setDataFormat
in interface SCellStyle
public void setDirectDataFormat(String dataFormat)
setDirectDataFormat
in interface SCellStyle
public void setLocked(boolean locked)
setLocked
in interface SCellStyle
public void setHidden(boolean hidden)
setHidden
in interface SCellStyle
public SFont getFont()
getFont
in interface SCellStyle
public void setFont(SFont font)
setFont
in interface SCellStyle
public void copyFrom(SCellStyle src)
copyFrom
in interface SCellStyle
public String getName()
getName
in interface SNamedStyle
public int getIndex()
getIndex
in interface SNamedStyle
public boolean isCustomBuiltin()
isCustomBuiltin
in interface SNamedStyle
public int getBuiltinId()
getBuiltinId
in interface SNamedStyle
public int getRotation()
SCellStyle
getRotation
in interface SCellStyle
public void setRotation(int rotation)
setRotation
in interface SCellStyle
public int getIndention()
getIndention
in interface SCellStyle
public void setIndention(int indent)
setIndention
in interface SCellStyle
public SBorder.BorderType getBorderVertical()
getBorderVertical
in interface SCellStyle
public SBorder.BorderType getBorderHorizontal()
getBorderHorizontal
in interface SCellStyle
public SBorder.BorderType getBorderDiagonal()
getBorderDiagonal
in interface SCellStyle
public SColor getBorderVerticalColor()
getBorderVerticalColor
in interface SCellStyle
public SColor getBorderHorizontalColor()
getBorderHorizontalColor
in interface SCellStyle
public SColor getBorderDiagonalColor()
getBorderDiagonalColor
in interface SCellStyle
public void setBorderVertical(SBorder.BorderType borderVertical)
setBorderVertical
in interface SCellStyle
public void setBorderVertical(SBorder.BorderType borderVertical, SColor color)
setBorderVertical
in interface SCellStyle
public void setBorderHorizontal(SBorder.BorderType borderHorizontal)
setBorderHorizontal
in interface SCellStyle
public void setBorderHorizontal(SBorder.BorderType borderHorizontal, SColor color)
setBorderHorizontal
in interface SCellStyle
public void setBorderDiagonal(SBorder.BorderType borderDiagonal)
setBorderDiagonal
in interface SCellStyle
public void setBorderDiagonal(SBorder.BorderType borderDiagonal, SColor color)
setBorderDiagonal
in interface SCellStyle
public void setBorderVerticalColor(SColor color)
setBorderVerticalColor
in interface SCellStyle
public void setBorderHorizontalColor(SColor color)
setBorderHorizontalColor
in interface SCellStyle
public void setBorderDiagonalColor(SColor color)
setBorderDiagonalColor
in interface SCellStyle
public SBorder getBorder()
SCellStyle
getBorder
in interface SCellStyle
public SFill getFill()
SCellStyle
getFill
in interface SCellStyle
public boolean isShowDiagonalUpBorder()
isShowDiagonalUpBorder
in interface SCellStyle
public boolean isShowDiagonalDownBorder()
isShowDiagonalDownBorder
in interface SCellStyle
Copyright © 2020. All rights reserved.