public interface IStyle
| Modifier and Type | Method and Description |
|---|---|
Brush |
getBackground()
Gets the background.
|
Brush |
getBarBrush()
Gets the brush used to draw data bars.
|
java.awt.Color |
getBorderBottomColor()
Gets the color of the bottom border.
|
Measure |
getBorderBottomSize()
Gets the thickness of the bottom border.
|
DashStyle |
getBorderBottomStyle()
Gets the style of the bottom border.
|
java.awt.Color |
getBorderLeftColor()
Gets the color of the left border.
|
Measure |
getBorderLeftSize()
Gets the thickness of the left border.
|
DashStyle |
getBorderLeftStyle()
Gets the style of the left border.
|
java.awt.Color |
getBorderRightColor()
Gets the color of the right border.
|
Measure |
getBorderRightSize()
Gets the thickness of the right border.
|
DashStyle |
getBorderRightStyle()
Gets the style of the right border.
|
java.awt.Color |
getBorderTopColor()
Gets the color of the top border.
|
Measure |
getBorderTopSize()
Gets the thickness of the top border.
|
DashStyle |
getBorderTopStyle()
Gets the style of the top border.
|
IConditionalFormatCollection |
getConditionalFormats()
Gets a list of conditional formats associated with this style.
|
java.lang.Boolean |
getDrawDataBars()
Gets a value indicating whether to draw data bars.
|
java.lang.Boolean |
getFontBold()
Gets a value indicating whether the element's text is bold.
|
java.lang.Boolean |
getFontDoubleUnderline()
Gets a value indicating whether the element's text is double underlined.
|
java.lang.Boolean |
getFontItalic()
Gets a value indicating whether the element's text is italic.
|
java.lang.String |
getFontName()
Gets the name of the font of the element's text.
|
java.lang.Double |
getFontSize()
Gets the size of the font of the element's text.
|
java.lang.Boolean |
getFontStrikeout()
Gets a value indicating whether the element's text is with a line through the middle.
|
java.lang.Boolean |
getFontUnderline()
Gets a value indicating whether the element's text is underlined.
|
java.lang.String |
getFormat()
Gets the format of the element's contents.
|
HorizontalAlignment |
getHorizontalAlignment()
Gets the horizontal alignment of the element's contents.
|
int |
getId()
Gets the style identifier.
|
Measure |
getIndent()
Gets the indentation of the element's text.
|
Measure |
getPaddingBottom()
Gets the bottom padding of the element's contents.
|
Measure |
getPaddingLeft()
Gets the left padding of the element's contents.
|
Measure |
getPaddingRight()
Gets the right padding of the element's contents.
|
Measure |
getPaddingTop()
Gets the top padding of the element's contents.
|
java.awt.Color |
getPrimaryDiagonalColor()
Gets the color of the primary diagonal.
|
Measure |
getPrimaryDiagonalSize()
Gets the thickness of the primary diagonal.
|
DashStyle |
getPrimaryDiagonalStyle()
Gets the style of the primary diagonal.
|
Rotate |
getRotation()
Gets the orientation of the element's contents.
|
java.awt.Color |
getSecondaryDiagonalColor()
Gets the color of the secondary diagonal.
|
Measure |
getSecondaryDiagonalSize()
Gets the thickness of the secondary diagonal.
|
DashStyle |
getSecondaryDiagonalStyle()
Gets the style of the secondary diagonal.
|
java.awt.Rectangle |
getTargetRect() |
java.awt.Color |
getTextColor()
Gets the color of the element's text.
|
IValidation |
getValidation()
Gets an object that can be used to specify validation rules.
|
VerticalAlignment |
getVerticalAlignment()
Gets the vertical alignment of the element's contents.
|
Worksheet |
getWorksheet()
Gets the worksheet this style is associated with.
|
java.lang.Boolean |
getWrapText()
Gets a value indicating whether to wrap the element's text.
|
void |
reset()
Resets the style to the default style.
|
void |
resetConditionalFormats()
Resets the conditional formats associated with this style.
|
void |
resetValidation()
Resets the validation associated with this style to the default validation.
|
void |
setBackground(Brush value)
Sets the background.
|
void |
setBarBrush(Brush value)
Sets the brush used to draw data bars.
|
void |
setBorderBottomColor(java.awt.Color value)
Sets the color of the bottom border.
|
void |
setBorderBottomSize(Measure value)
Sets the thickness of the bottom border.
|
void |
setBorderBottomStyle(DashStyle value)
Sets the style of the bottom border.
|
void |
setBorderLeftColor(java.awt.Color value)
Sets the color of the left border.
|
void |
setBorderLeftSize(Measure value)
Sets the thickness of the left border.
|
void |
setBorderLeftStyle(DashStyle value)
Sets the style of the left border.
|
void |
setBorderRightColor(java.awt.Color value)
Sets the color of the right border.
|
void |
setBorderRightSize(Measure value)
Sets the thickness of the right border.
|
void |
setBorderRightStyle(DashStyle value)
Sets the style of the right border.
|
void |
setBorderTopColor(java.awt.Color value)
Sets the color of the top border.
|
void |
setBorderTopSize(Measure value)
Sets the thickness of the top border.
|
void |
setBorderTopStyle(DashStyle value)
Sets the style of the top border.
|
void |
setFontBold(java.lang.Boolean value)
Sets a value indicating whether the element's text is bold.
|
void |
setFontDoubleUnderline(java.lang.Boolean value)
Sets a value indicating whether the element's text is underlined.
|
void |
setFontItalic(java.lang.Boolean value)
Sets a value indicating whether the element's text is italic.
|
void |
setFontName(java.lang.String value)
Sets the name of the font of the element's text.
|
void |
setFontSize(java.lang.Double value)
Sets the size of the font of the element's text.
|
void |
setFontStrikeout(java.lang.Boolean value)
Sets a value indicating whether the element's text is with a line through the middle.
|
void |
setFontUnderline(java.lang.Boolean value)
Sets a value indicating whether the element's text is underlined.
|
void |
setFormat(java.lang.String value)
Sets the format of the element's contents.
|
void |
setHorizontalAlignment(HorizontalAlignment value)
Sets the horizontal alignment of the element's contents.
|
void |
setId(int value)
Sets the style identifier.
|
void |
setIndent(Measure value)
Sets the indentation of the element's text.
|
void |
setPaddingBottom(Measure value)
Sets the bottom padding of the element's contents.
|
void |
setPaddingLeft(Measure value)
Sets the left padding of the element's contents.
|
void |
setPaddingRight(Measure value)
Sets the right padding of the element's contents.
|
void |
setPaddingTop(Measure value)
Sets the top padding of the element's contents.
|
void |
setPrimaryDiagonalColor(java.awt.Color value)
Sets the color of the primary diagonal.
|
void |
setPrimaryDiagonalSize(Measure value)
Sets the thickness of the primary diagonal.
|
void |
setPrimaryDiagonalStyle(DashStyle value)
Sets the style of the primary diagonal.
|
void |
setRotation(Rotate orientation)
Sets the orientation of the element's contents
|
void |
setSecondaryDiagonalColor(java.awt.Color value)
Sets the color of the secondary diagonal.
|
void |
setSecondaryDiagonalSize(Measure value)
Sets the thickness of the secondary diagonal.
|
void |
setSecondaryDiagonalStyle(DashStyle value)
Sets the style of the secondary diagonal.
|
void |
setTextColor(java.awt.Color value)
Sets the color of the element's text.
|
void |
setVerticalAlignment(VerticalAlignment value)
Sets the vertical alignment of the element's contents.
|
void |
setWrapText(java.lang.Boolean value)
Sets a value indicating whether to wrap the element's text.
|
void reset()
void resetValidation()
void resetConditionalFormats()
Worksheet getWorksheet()
int getId()
void setId(int value)
Brush getBackground()
void setBackground(Brush value)
java.awt.Color getBorderLeftColor()
void setBorderLeftColor(java.awt.Color value)
Measure getBorderLeftSize()
void setBorderLeftSize(Measure value)
DashStyle getBorderLeftStyle()
void setBorderLeftStyle(DashStyle value)
java.awt.Color getBorderTopColor()
void setBorderTopColor(java.awt.Color value)
Measure getBorderTopSize()
void setBorderTopSize(Measure value)
DashStyle getBorderTopStyle()
void setBorderTopStyle(DashStyle value)
java.awt.Color getBorderRightColor()
void setBorderRightColor(java.awt.Color value)
Measure getBorderRightSize()
void setBorderRightSize(Measure value)
DashStyle getBorderRightStyle()
void setBorderRightStyle(DashStyle value)
java.awt.Color getBorderBottomColor()
void setBorderBottomColor(java.awt.Color value)
Measure getBorderBottomSize()
void setBorderBottomSize(Measure value)
DashStyle getBorderBottomStyle()
void setBorderBottomStyle(DashStyle value)
java.awt.Color getPrimaryDiagonalColor()
void setPrimaryDiagonalColor(java.awt.Color value)
Measure getPrimaryDiagonalSize()
void setPrimaryDiagonalSize(Measure value)
DashStyle getPrimaryDiagonalStyle()
void setPrimaryDiagonalStyle(DashStyle value)
java.awt.Color getSecondaryDiagonalColor()
void setSecondaryDiagonalColor(java.awt.Color value)
Measure getSecondaryDiagonalSize()
void setSecondaryDiagonalSize(Measure value)
DashStyle getSecondaryDiagonalStyle()
void setSecondaryDiagonalStyle(DashStyle value)
java.lang.String getFormat()
void setFormat(java.lang.String value)
java.lang.String getFontName()
void setFontName(java.lang.String value)
java.lang.Double getFontSize()
void setFontSize(java.lang.Double value)
java.lang.Boolean getFontBold()
void setFontBold(java.lang.Boolean value)
java.lang.Boolean getFontItalic()
void setFontItalic(java.lang.Boolean value)
java.lang.Boolean getFontUnderline()
void setFontUnderline(java.lang.Boolean value)
java.lang.Boolean getFontDoubleUnderline()
void setFontDoubleUnderline(java.lang.Boolean value)
java.lang.Boolean getFontStrikeout()
void setFontStrikeout(java.lang.Boolean value)
java.awt.Color getTextColor()
void setTextColor(java.awt.Color value)
HorizontalAlignment getHorizontalAlignment()
void setHorizontalAlignment(HorizontalAlignment value)
VerticalAlignment getVerticalAlignment()
void setVerticalAlignment(VerticalAlignment value)
Rotate getRotation()
void setRotation(Rotate orientation)
java.lang.Boolean getWrapText()
void setWrapText(java.lang.Boolean value)
Measure getIndent()
void setIndent(Measure value)
Measure getPaddingLeft()
void setPaddingLeft(Measure value)
Measure getPaddingTop()
void setPaddingTop(Measure value)
Measure getPaddingRight()
void setPaddingRight(Measure value)
Measure getPaddingBottom()
void setPaddingBottom(Measure value)
IValidation getValidation()
IConditionalFormatCollection getConditionalFormats()
Brush getBarBrush()
void setBarBrush(Brush value)
value - A Brush instance.java.awt.Rectangle getTargetRect()
java.lang.Boolean getDrawDataBars()