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
_alignment
Deprecated.protected AbstractBorderAdv
_border
Deprecated.protected String
_dataFormat
Deprecated.protected boolean
_directFormat
Deprecated.protected AbstractFillAdv
_fill
Deprecated.protected AbstractFontAdv
_font
Deprecated.protected boolean
_hidden
Deprecated.protected int
_indention
Deprecated.protected boolean
_locked
Deprecated.protected int
_rotation
Deprecated.protected SCellStyle.VerticalAlignment
_verticalAlignment
Deprecated.protected boolean
_wrapText
Deprecated.static SCellStyle
BLANK_STYLE
Deprecated.-
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 void
copyFrom(SCellStyle src)
Deprecated.boolean
equals(Object other)
Deprecated.SCellStyle.Alignment
getAlignment()
Deprecated.Gets the horizontal alignmentSColor
getBackColor()
Deprecated.SBorder
getBorder()
Deprecated.Returns the borderSBorder.BorderType
getBorderBottom()
Deprecated.SColor
getBorderBottomColor()
Deprecated.SBorder.BorderType
getBorderDiagonal()
Deprecated.SColor
getBorderDiagonalColor()
Deprecated.SBorder.BorderType
getBorderHorizontal()
Deprecated.SColor
getBorderHorizontalColor()
Deprecated.SBorder.BorderType
getBorderLeft()
Deprecated.SColor
getBorderLeftColor()
Deprecated.SBorder.BorderType
getBorderRight()
Deprecated.SColor
getBorderRightColor()
Deprecated.SBorder.BorderType
getBorderTop()
Deprecated.SColor
getBorderTopColor()
Deprecated.SBorder.BorderType
getBorderVertical()
Deprecated.SColor
getBorderVerticalColor()
Deprecated.String
getDataFormat()
Deprecated.SFill
getFill()
Deprecated.Returns the fillSColor
getFillColor()
Deprecated.SFill.FillPattern
getFillPattern()
Deprecated.Gets the fill/background patternString
getFillPatternHtml()
Deprecated.gets the fillpattern background-image style for this style.SFont
getFont()
Deprecated.int
getIndention()
Deprecated.int
getRotation()
Deprecated.get the degree of rotation for the text in the cellSCellStyle.VerticalAlignment
getVerticalAlignment()
Deprecated.Gets vertical alignmentint
hashCode()
Deprecated.boolean
isDirectDataFormat()
Deprecated.boolean
isHidden()
Deprecated.boolean
isLocked()
Deprecated.boolean
isShowDiagonalDownBorder()
Deprecated.boolean
isShowDiagonalUpBorder()
Deprecated.boolean
isWrapText()
Deprecated.void
setAlignment(SCellStyle.Alignment alignment)
Deprecated.void
setBackColor(SColor backColor)
Deprecated.protected void
setBorder(SBorder border)
Deprecated.void
setBorderBottom(SBorder.BorderType type)
Deprecated.void
setBorderBottom(SBorder.BorderType borderBottom, SColor color)
Deprecated.void
setBorderBottomColor(SColor color)
Deprecated.void
setBorderDiagonal(SBorder.BorderType type)
Deprecated.void
setBorderDiagonal(SBorder.BorderType type, SColor color)
Deprecated.void
setBorderDiagonalColor(SColor color)
Deprecated.void
setBorderHorizontal(SBorder.BorderType type)
Deprecated.void
setBorderHorizontal(SBorder.BorderType type, SColor color)
Deprecated.void
setBorderHorizontalColor(SColor color)
Deprecated.void
setBorderLeft(SBorder.BorderType borderLeft)
Deprecated.void
setBorderLeft(SBorder.BorderType borderLeft, SColor color)
Deprecated.void
setBorderLeftColor(SColor color)
Deprecated.void
setBorderRight(SBorder.BorderType type)
Deprecated.void
setBorderRight(SBorder.BorderType borderRight, SColor color)
Deprecated.void
setBorderRightColor(SColor color)
Deprecated.void
setBorderTop(SBorder.BorderType type)
Deprecated.void
setBorderTop(SBorder.BorderType borderTop, SColor color)
Deprecated.void
setBorderTopColor(SColor color)
Deprecated.void
setBorderVertical(SBorder.BorderType type)
Deprecated.void
setBorderVertical(SBorder.BorderType type, SColor color)
Deprecated.void
setBorderVerticalColor(SColor color)
Deprecated.void
setDataFormat(String dataFormat)
Deprecated.void
setDirectDataFormat(String dataFormat)
Deprecated.protected void
setFill(SFill fill)
Deprecated.void
setFillColor(SColor fillColor)
Deprecated.void
setFillPattern(SFill.FillPattern fillPattern)
Deprecated.void
setFont(SFont font)
Deprecated.void
setHidden(boolean hidden)
Deprecated.void
setIndention(int indention)
Deprecated.void
setLocked(boolean locked)
Deprecated.void
setRotation(int rotation)
Deprecated.void
setVerticalAlignment(SCellStyle.VerticalAlignment verticalAlignment)
Deprecated.void
setWrapText(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:SCellStyle
Gets 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:SCellStyle
Gets 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:SCellStyle
Gets 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:AbstractCellStyleAdv
gets the fillpattern background-image style for this style.- Specified by:
getFillPatternHtml
in classAbstractCellStyleAdv
-
getRotation
public int getRotation()
Deprecated.Description copied from interface:SCellStyle
get 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:SCellStyle
Returns the border- Returns:
-
getFill
public SFill getFill()
Deprecated.Description copied from interface:SCellStyle
Returns 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:
-
-