Package io.keikai.model.impl
Class CellStyleImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractCellStyleAdv
-
- io.keikai.model.impl.CellStyleImpl
-
- All Implemented Interfaces:
SCellStyle,Serializable
@Deprecated public class CellStyleImpl extends AbstractCellStyleAdv
Deprecated.- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SCellStyle
SCellStyle.Alignment, SCellStyle.VerticalAlignment
-
-
Field Summary
Fields Modifier and Type Field Description protected SCellStyle.Alignment_alignmentDeprecated.protected AbstractBorderAdv_borderDeprecated.protected String_dataFormatDeprecated.protected boolean_directFormatDeprecated.protected AbstractFillAdv_fillDeprecated.protected AbstractFontAdv_fontDeprecated.protected boolean_hiddenDeprecated.protected int_indentionDeprecated.protected boolean_lockedDeprecated.protected int_rotationDeprecated.protected SCellStyle.VerticalAlignment_verticalAlignmentDeprecated.protected boolean_wrapTextDeprecated.static SCellStyleBLANK_STYLEDeprecated.-
Fields inherited from interface io.keikai.model.SCellStyle
FORMAT_GENERAL
-
-
Constructor Summary
Constructors Constructor Description CellStyleImpl(AbstractFontAdv font)Deprecated.CellStyleImpl(AbstractFontAdv font, AbstractFillAdv fill, AbstractBorderAdv border)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcopyFrom(SCellStyle src)Deprecated.booleanequals(Object other)Deprecated.SCellStyle.AlignmentgetAlignment()Deprecated.Gets the horizontal alignmentSColorgetBackColor()Deprecated.SBordergetBorder()Deprecated.Returns the borderSBorder.BorderTypegetBorderBottom()Deprecated.SColorgetBorderBottomColor()Deprecated.SBorder.BorderTypegetBorderDiagonal()Deprecated.SColorgetBorderDiagonalColor()Deprecated.SBorder.BorderTypegetBorderHorizontal()Deprecated.SColorgetBorderHorizontalColor()Deprecated.SBorder.BorderTypegetBorderLeft()Deprecated.SColorgetBorderLeftColor()Deprecated.SBorder.BorderTypegetBorderRight()Deprecated.SColorgetBorderRightColor()Deprecated.SBorder.BorderTypegetBorderTop()Deprecated.SColorgetBorderTopColor()Deprecated.SBorder.BorderTypegetBorderVertical()Deprecated.SColorgetBorderVerticalColor()Deprecated.StringgetDataFormat()Deprecated.SFillgetFill()Deprecated.Returns the fillSColorgetFillColor()Deprecated.SFill.FillPatterngetFillPattern()Deprecated.Gets the fill/background patternStringgetFillPatternHtml()Deprecated.gets the fillpattern background-image style for this style.SFontgetFont()Deprecated.intgetIndention()Deprecated.intgetRotation()Deprecated.get the degree of rotation for the text in the cellSCellStyle.VerticalAlignmentgetVerticalAlignment()Deprecated.Gets vertical alignmentinthashCode()Deprecated.booleanisDirectDataFormat()Deprecated.booleanisHidden()Deprecated.booleanisLocked()Deprecated.booleanisShowDiagonalDownBorder()Deprecated.booleanisShowDiagonalUpBorder()Deprecated.booleanisWrapText()Deprecated.voidsetAlignment(SCellStyle.Alignment alignment)Deprecated.voidsetBackColor(SColor backColor)Deprecated.protected voidsetBorder(SBorder border)Deprecated.voidsetBorderBottom(SBorder.BorderType type)Deprecated.voidsetBorderBottom(SBorder.BorderType borderBottom, SColor color)Deprecated.voidsetBorderBottomColor(SColor color)Deprecated.voidsetBorderDiagonal(SBorder.BorderType type)Deprecated.voidsetBorderDiagonal(SBorder.BorderType type, SColor color)Deprecated.voidsetBorderDiagonalColor(SColor color)Deprecated.voidsetBorderHorizontal(SBorder.BorderType type)Deprecated.voidsetBorderHorizontal(SBorder.BorderType type, SColor color)Deprecated.voidsetBorderHorizontalColor(SColor color)Deprecated.voidsetBorderLeft(SBorder.BorderType borderLeft)Deprecated.voidsetBorderLeft(SBorder.BorderType borderLeft, SColor color)Deprecated.voidsetBorderLeftColor(SColor color)Deprecated.voidsetBorderRight(SBorder.BorderType type)Deprecated.voidsetBorderRight(SBorder.BorderType borderRight, SColor color)Deprecated.voidsetBorderRightColor(SColor color)Deprecated.voidsetBorderTop(SBorder.BorderType type)Deprecated.voidsetBorderTop(SBorder.BorderType borderTop, SColor color)Deprecated.voidsetBorderTopColor(SColor color)Deprecated.voidsetBorderVertical(SBorder.BorderType type)Deprecated.voidsetBorderVertical(SBorder.BorderType type, SColor color)Deprecated.voidsetBorderVerticalColor(SColor color)Deprecated.voidsetDataFormat(String dataFormat)Deprecated.voidsetDirectDataFormat(String dataFormat)Deprecated.protected voidsetFill(SFill fill)Deprecated.voidsetFillColor(SColor fillColor)Deprecated.voidsetFillPattern(SFill.FillPattern fillPattern)Deprecated.voidsetFont(SFont font)Deprecated.voidsetHidden(boolean hidden)Deprecated.voidsetIndention(int indention)Deprecated.voidsetLocked(boolean locked)Deprecated.voidsetRotation(int rotation)Deprecated.voidsetVerticalAlignment(SCellStyle.VerticalAlignment verticalAlignment)Deprecated.voidsetWrapText(boolean wrapText)Deprecated.
-
-
-
Field Detail
-
_font
protected AbstractFontAdv _font
Deprecated.
-
_fill
protected AbstractFillAdv _fill
Deprecated.
-
_border
protected AbstractBorderAdv _border
Deprecated.
-
_alignment
protected SCellStyle.Alignment _alignment
Deprecated.
-
_verticalAlignment
protected SCellStyle.VerticalAlignment _verticalAlignment
Deprecated.
-
_wrapText
protected boolean _wrapText
Deprecated.
-
_dataFormat
protected String _dataFormat
Deprecated.
-
_directFormat
protected boolean _directFormat
Deprecated.
-
_locked
protected boolean _locked
Deprecated.
-
_hidden
protected boolean _hidden
Deprecated.
-
_rotation
protected int _rotation
Deprecated.
-
_indention
protected int _indention
Deprecated.
-
BLANK_STYLE
public static final SCellStyle BLANK_STYLE
Deprecated.
-
-
Constructor Detail
-
CellStyleImpl
public CellStyleImpl(AbstractFontAdv font)
Deprecated.
-
CellStyleImpl
public CellStyleImpl(AbstractFontAdv font, AbstractFillAdv fill, AbstractBorderAdv border)
Deprecated.
-
-
Method Detail
-
getFont
public SFont getFont()
Deprecated.
-
setFont
public void setFont(SFont font)
Deprecated.
-
getFillColor
public SColor getFillColor()
Deprecated.- Returns:
- fill foreground-color
-
setFillColor
public void setFillColor(SColor fillColor)
Deprecated.
-
getFillPattern
public SFill.FillPattern getFillPattern()
Deprecated.Description copied from interface:SCellStyleGets the fill/background pattern- Returns:
- the fill pattern
-
setFillPattern
public void setFillPattern(SFill.FillPattern fillPattern)
Deprecated.
-
getAlignment
public SCellStyle.Alignment getAlignment()
Deprecated.Description copied from interface:SCellStyleGets the horizontal alignment- Returns:
- the horizontal alignment
-
setAlignment
public void setAlignment(SCellStyle.Alignment alignment)
Deprecated.
-
getVerticalAlignment
public SCellStyle.VerticalAlignment getVerticalAlignment()
Deprecated.Description copied from interface:SCellStyleGets vertical alignment- Returns:
-
setVerticalAlignment
public void setVerticalAlignment(SCellStyle.VerticalAlignment verticalAlignment)
Deprecated.
-
isWrapText
public boolean isWrapText()
Deprecated.- Returns:
- true if wrap-text
-
setWrapText
public void setWrapText(boolean wrapText)
Deprecated.
-
getBorderLeft
public SBorder.BorderType getBorderLeft()
Deprecated.- Returns:
- left border
-
setBorderLeft
public void setBorderLeft(SBorder.BorderType borderLeft)
Deprecated.
-
getBorderTop
public SBorder.BorderType getBorderTop()
Deprecated.- Returns:
- top border
-
setBorderTop
public void setBorderTop(SBorder.BorderType type)
Deprecated.
-
getBorderRight
public SBorder.BorderType getBorderRight()
Deprecated.- Returns:
- right border
-
setBorderRight
public void setBorderRight(SBorder.BorderType type)
Deprecated.
-
getBorderBottom
public SBorder.BorderType getBorderBottom()
Deprecated.- Returns:
- bottom border
-
setBorderBottom
public void setBorderBottom(SBorder.BorderType type)
Deprecated.
-
getBorderTopColor
public SColor getBorderTopColor()
Deprecated.- Returns:
- top border color
-
setBorderTopColor
public void setBorderTopColor(SColor color)
Deprecated.
-
getBorderLeftColor
public SColor getBorderLeftColor()
Deprecated.- Returns:
- left border color
-
setBorderLeftColor
public void setBorderLeftColor(SColor color)
Deprecated.
-
getBorderBottomColor
public SColor getBorderBottomColor()
Deprecated.- Returns:
- bottom border color
-
setBorderBottomColor
public void setBorderBottomColor(SColor color)
Deprecated.
-
getBorderRightColor
public SColor getBorderRightColor()
Deprecated.- Returns:
- right border color
-
setBorderRightColor
public void setBorderRightColor(SColor color)
Deprecated.
-
getDataFormat
public String getDataFormat()
Deprecated.- Returns:
- data format
-
isDirectDataFormat
public boolean isDirectDataFormat()
Deprecated.- Returns:
- true if the data format is direct data format, which mean it will not care Locale when formatting
-
setDataFormat
public void setDataFormat(String dataFormat)
Deprecated.
-
setDirectDataFormat
public void setDirectDataFormat(String dataFormat)
Deprecated.
-
isLocked
public boolean isLocked()
Deprecated.- Returns:
- true if locked
-
setLocked
public void setLocked(boolean locked)
Deprecated.
-
isHidden
public boolean isHidden()
Deprecated.- Returns:
- true if hidden
-
setHidden
public void setHidden(boolean hidden)
Deprecated.
-
copyFrom
public void copyFrom(SCellStyle src)
Deprecated.
-
setBorderLeft
public void setBorderLeft(SBorder.BorderType borderLeft, SColor color)
Deprecated.
-
setBorderTop
public void setBorderTop(SBorder.BorderType borderTop, SColor color)
Deprecated.
-
setBorderRight
public void setBorderRight(SBorder.BorderType borderRight, SColor color)
Deprecated.
-
setBorderBottom
public void setBorderBottom(SBorder.BorderType borderBottom, SColor color)
Deprecated.
-
getBackColor
public SColor getBackColor()
Deprecated.- Returns:
- fill background-color
-
setBackColor
public void setBackColor(SColor backColor)
Deprecated.
-
getFillPatternHtml
public String getFillPatternHtml()
Deprecated.Description copied from class:AbstractCellStyleAdvgets the fillpattern background-image style for this style.- Specified by:
getFillPatternHtmlin classAbstractCellStyleAdv
-
getRotation
public int getRotation()
Deprecated.Description copied from interface:SCellStyleget the degree of rotation for the text in the cell- Returns:
- rotation degrees (between -90 and 90 degrees); 255 means "vertical text"
-
setRotation
public void setRotation(int rotation)
Deprecated.
-
getIndention
public int getIndention()
Deprecated.
-
setIndention
public void setIndention(int indention)
Deprecated.
-
getBorder
public SBorder getBorder()
Deprecated.Description copied from interface:SCellStyleReturns the border- Returns:
-
getFill
public SFill getFill()
Deprecated.Description copied from interface:SCellStyleReturns the fill- Returns:
-
setBorderVertical
public void setBorderVertical(SBorder.BorderType type)
Deprecated.
-
setBorderVertical
public void setBorderVertical(SBorder.BorderType type, SColor color)
Deprecated.
-
setBorderHorizontal
public void setBorderHorizontal(SBorder.BorderType type)
Deprecated.
-
setBorderHorizontal
public void setBorderHorizontal(SBorder.BorderType type, SColor color)
Deprecated.
-
setBorderDiagonal
public void setBorderDiagonal(SBorder.BorderType type)
Deprecated.
-
setBorderDiagonal
public void setBorderDiagonal(SBorder.BorderType type, SColor color)
Deprecated.
-
setBorderVerticalColor
public void setBorderVerticalColor(SColor color)
Deprecated.
-
setBorderHorizontalColor
public void setBorderHorizontalColor(SColor color)
Deprecated.
-
setBorderDiagonalColor
public void setBorderDiagonalColor(SColor color)
Deprecated.
-
getBorderVertical
public SBorder.BorderType getBorderVertical()
Deprecated.- Returns:
- vertical border
-
getBorderHorizontal
public SBorder.BorderType getBorderHorizontal()
Deprecated.- Returns:
- horizontal border
-
getBorderDiagonal
public SBorder.BorderType getBorderDiagonal()
Deprecated.- Returns:
- diagonal border
-
getBorderVerticalColor
public SColor getBorderVerticalColor()
Deprecated.- Returns:
- vertical border color
-
getBorderHorizontalColor
public SColor getBorderHorizontalColor()
Deprecated.- Returns:
- horizontal border color
-
getBorderDiagonalColor
public SColor getBorderDiagonalColor()
Deprecated.- Returns:
- diagonal border color
-
setBorder
protected void setBorder(SBorder border)
Deprecated.
-
setFill
protected void setFill(SFill fill)
Deprecated.
-
isShowDiagonalUpBorder
public boolean isShowDiagonalUpBorder()
Deprecated.- Returns:
-
isShowDiagonalDownBorder
public boolean isShowDiagonalDownBorder()
Deprecated.- Returns:
-
-