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.
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SCellStyle
SCellStyle.Alignment, SCellStyle.VerticalAlignment -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SCellStyle.AlignmentDeprecated.protected AbstractBorderAdvDeprecated.protected StringDeprecated.protected booleanDeprecated.protected AbstractFillAdvDeprecated.protected AbstractFontAdvDeprecated.protected booleanDeprecated.protected intDeprecated.protected booleanDeprecated.protected intDeprecated.protected SCellStyle.VerticalAlignmentDeprecated.protected booleanDeprecated.static final SCellStyleDeprecated.Fields inherited from interface io.keikai.model.SCellStyle
FORMAT_GENERAL -
Constructor Summary
ConstructorsConstructorDescriptionCellStyleImpl(AbstractFontAdv font) Deprecated.CellStyleImpl(AbstractFontAdv font, AbstractFillAdv fill, AbstractBorderAdv border) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(SCellStyle src) Deprecated.booleanDeprecated.Deprecated.Gets the horizontal alignmentDeprecated.Deprecated.Returns the borderDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getFill()Deprecated.Returns the fillDeprecated.Deprecated.Gets the fill/background patternDeprecated.gets the fillpattern background-image style for this style.getFont()Deprecated.intDeprecated.intDeprecated.get the degree of rotation for the text in the cellDeprecated.Gets vertical alignmentinthashCode()Deprecated.booleanDeprecated.booleanisHidden()Deprecated.booleanisLocked()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetAlignment(SCellStyle.Alignment alignment) Deprecated.voidsetBackColor(SColor backColor) Deprecated.protected voidDeprecated.voidDeprecated.voidsetBorderBottom(SBorder.BorderType borderBottom, SColor color) Deprecated.voidsetBorderBottomColor(SColor color) Deprecated.voidDeprecated.voidsetBorderDiagonal(SBorder.BorderType type, SColor color) Deprecated.voidsetBorderDiagonalColor(SColor color) Deprecated.voidDeprecated.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.voidDeprecated.voidsetBorderRight(SBorder.BorderType borderRight, SColor color) Deprecated.voidsetBorderRightColor(SColor color) Deprecated.voidDeprecated.voidsetBorderTop(SBorder.BorderType borderTop, SColor color) Deprecated.voidsetBorderTopColor(SColor color) Deprecated.voidDeprecated.voidsetBorderVertical(SBorder.BorderType type, SColor color) Deprecated.voidsetBorderVerticalColor(SColor color) Deprecated.voidsetDataFormat(String dataFormat) Deprecated.voidsetDirectDataFormat(String dataFormat) Deprecated.protected voidDeprecated.voidsetFillColor(SColor fillColor) Deprecated.voidsetFillPattern(SFill.FillPattern fillPattern) Deprecated.voidDeprecated.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 Details
-
_font
Deprecated. -
_fill
Deprecated. -
_border
Deprecated. -
_alignment
Deprecated. -
_verticalAlignment
Deprecated. -
_wrapText
protected boolean _wrapTextDeprecated. -
_dataFormat
Deprecated. -
_directFormat
protected boolean _directFormatDeprecated. -
_locked
protected boolean _lockedDeprecated. -
_rotation
protected int _rotationDeprecated. -
_indention
protected int _indentionDeprecated. -
BLANK_STYLE
Deprecated.
-
-
Constructor Details
-
CellStyleImpl
Deprecated. -
CellStyleImpl
Deprecated.
-
-
Method Details
-
getFont
Deprecated. -
setFont
Deprecated. -
getFillColor
Deprecated.- Returns:
- fill foreground-color
-
setFillColor
Deprecated. -
getFillPattern
Deprecated.Description copied from interface:SCellStyleGets the fill/background pattern- Returns:
- the fill pattern
-
setFillPattern
Deprecated. -
getAlignment
Deprecated.Description copied from interface:SCellStyleGets the horizontal alignment- Returns:
- the horizontal alignment
-
setAlignment
Deprecated. -
getVerticalAlignment
Deprecated.Description copied from interface:SCellStyleGets vertical alignment- Returns:
-
setVerticalAlignment
Deprecated. -
isWrapText
public boolean isWrapText()Deprecated.- Returns:
- true if wrap-text
-
setWrapText
public void setWrapText(boolean wrapText) Deprecated. -
getBorderLeft
Deprecated.- Returns:
- left border
-
setBorderLeft
Deprecated. -
getBorderTop
Deprecated.- Returns:
- top border
-
setBorderTop
Deprecated. -
getBorderRight
Deprecated.- Returns:
- right border
-
setBorderRight
Deprecated. -
getBorderBottom
Deprecated.- Returns:
- bottom border
-
setBorderBottom
Deprecated. -
getBorderTopColor
Deprecated.- Returns:
- top border color
-
setBorderTopColor
Deprecated. -
getBorderLeftColor
Deprecated.- Returns:
- left border color
-
setBorderLeftColor
Deprecated. -
getBorderBottomColor
Deprecated.- Returns:
- bottom border color
-
setBorderBottomColor
Deprecated. -
getBorderRightColor
Deprecated.- Returns:
- right border color
-
setBorderRightColor
Deprecated. -
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
Deprecated. -
setDirectDataFormat
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
Deprecated. -
setBorderLeft
Deprecated. -
setBorderTop
Deprecated. -
setBorderRight
Deprecated. -
setBorderBottom
Deprecated. -
getBackColor
Deprecated.- Returns:
- fill background-color
-
setBackColor
Deprecated. -
getFillPatternHtml
Deprecated.Description copied from class:AbstractCellStyleAdvgets the fillpattern background-image style for this style.- Specified by:
getFillPatternHtmlin classAbstractCellStyleAdv
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
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
Deprecated.Description copied from interface:SCellStyleReturns the border- Returns:
-
getFill
Deprecated.Description copied from interface:SCellStyleReturns the fill- Returns:
-
setBorderVertical
Deprecated. -
setBorderVertical
Deprecated. -
setBorderHorizontal
Deprecated. -
setBorderHorizontal
Deprecated. -
setBorderDiagonal
Deprecated. -
setBorderDiagonal
Deprecated. -
setBorderVerticalColor
Deprecated. -
setBorderHorizontalColor
Deprecated. -
setBorderDiagonalColor
Deprecated. -
getBorderVertical
Deprecated.- Returns:
- vertical border
-
getBorderHorizontal
Deprecated.- Returns:
- horizontal border
-
getBorderDiagonal
Deprecated.- Returns:
- diagonal border
-
getBorderVerticalColor
Deprecated.- Returns:
- vertical border color
-
getBorderHorizontalColor
Deprecated.- Returns:
- horizontal border color
-
getBorderDiagonalColor
Deprecated.- Returns:
- diagonal border color
-
setBorder
Deprecated. -
setFill
Deprecated. -
isShowDiagonalUpBorder
public boolean isShowDiagonalUpBorder()Deprecated.- Returns:
-
isShowDiagonalDownBorder
public boolean isShowDiagonalDownBorder()Deprecated.- Returns:
-