|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.core.spreadsheet.XlsObject
com.spire.xls.core.spreadsheet.XlsConditionalFormat
public class XlsConditionalFormat
Contains a condition and the formatting for cells.
| Constructor Summary | |
|---|---|
XlsConditionalFormat(java.lang.Object parent)
Creates ConditionalFormat and set its ReservedHandle and Parent properties to speicified values. |
|
XlsConditionalFormat(java.lang.Object parent,
FormatCondition fc)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
deepClone(java.lang.Object parent)
Creates a new object that is a copy of the current instance. |
boolean |
equals(java.lang.Object obj)
A hash code for the current Object without taking cell list into account. |
Average |
getAverage()
Get the conditional formatting's "Average" instance. |
java.awt.Color |
getBackColor()
get Pattern background color. |
OColor |
getBackColorObject()
Conditional format background color. |
ExcelColors |
getBackKnownColor()
Pattern background excel color. |
java.awt.Color |
getBottomBorderColor()
Color of the bottom line. |
OColor |
getBottomBorderColorObject()
Conditional format bottom border color. |
ExcelColors |
getBottomBorderKnownColor()
Excel color of the bottom line. |
LineStyleType |
getBottomBorderStyle()
Bottom border line style. |
java.awt.Color |
getColor()
Pattern foreground color. |
ColorScale |
getColorScale()
Get the conditional formatting's "ColorScale" instance. |
DataBar |
getDataBar()
Returns data bar settings. |
int |
getDxfId()
|
ExcelPatternType |
getFillPattern()
XlsFill pattern type. |
java.lang.String |
getFirstFormula()
First formula. |
java.awt.Color |
getFontColor()
get Font color. |
com.spire.ms.System.Drawing.Color |
getFontColorInner()
Font color. |
OColor |
getFontColorObject()
Conditional format font color. |
ExcelColors |
getFontKnownColor()
Font excel color. |
ConditionalFormatType |
getFormatType()
conditional format type. |
IconSet |
getIconSet()
Returns iconset settings. |
ExcelColors |
getKnownColor()
Pattern foreground excel color. |
java.awt.Color |
getLeftBorderColor()
Color of the left line. |
OColor |
getLeftBorderColorObject()
Conditional format left border color. |
ExcelColors |
getLeftBorderKnownColor()
Excel color of the left line. |
LineStyleType |
getLeftBorderStyle()
Left border line style. |
java.lang.String |
getNumberFormat()
|
OColor |
getOColor()
Conditional format color. |
ComparisonOperatorType |
getOperator()
Type of the comparison operator. |
int |
getPriority()
Priority. |
java.awt.Color |
getRightBorderColor()
Color of the right line. |
OColor |
getRightBorderColorObject()
Conditional format right border color. |
ExcelColors |
getRightBorderKnownColor()
Color of the right line. |
LineStyleType |
getRightBorderStyle()
Right border line style. |
java.lang.String |
getSecondFormula()
Second formula. |
boolean |
getStopIfTrue()
True, no rules with lower priority may be applied over this rule, when this rule evaluates to true. |
java.awt.Color |
getTopBorderColor()
Color of the top line. |
OColor |
getTopBorderColorObject()
Conditional format top border color. |
ExcelColors |
getTopBorderKnownColor()
Excel color of the top line. |
LineStyleType |
getTopBorderStyle()
Top border line style. |
TopBottom |
getTopBottom()
Get the conditional formatting's "TopBottom" instance. |
FontUnderlineType |
getUnderline()
Underline type. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
boolean |
isBold()
Indicates whether font is bold. |
void |
isBold(boolean value)
Indicates whether font is bold. |
boolean |
isBorderFormatPresent()
Indicates whether contains border formatting. |
void |
isBorderFormatPresent(boolean value)
Indicates whether contains border formatting. |
boolean |
isFontFormatPresent()
Indicates whether contains font formatting. |
void |
isFontFormatPresent(boolean value)
Indicates whether contains font formatting. |
boolean |
isItalic()
Indicates whether font is italic. |
void |
isItalic(boolean value)
Indicates whether font is italic. |
boolean |
isNumberFormatPresent()
|
boolean |
isPatternFormatPresent()
Indicates whether contains pattern formatting. |
void |
isPatternFormatPresent(boolean value)
Indicates whether contains pattern formatting. |
boolean |
isStrikeThrough()
Indicates whether font is striked through. |
void |
isStrikeThrough(boolean value)
Indicates whether font is striked through. |
boolean |
isSubScript()
Indicates whether font is subscript. |
void |
isSubScript(boolean value)
Indicates whether font is subscript. |
boolean |
isSuperScript()
Indicates whether font is superscript. |
void |
isSuperScript(boolean value)
Indicates whether font is superscript. |
java.lang.String |
makeFormula()
|
java.lang.String |
makeFormula(double para)
|
java.lang.String |
makeFormula(java.lang.String para)
|
void |
setBackColor(java.awt.Color value)
set Pattern background color. |
void |
setBackKnownColor(ExcelColors value)
Pattern background excel color. |
void |
setBottomBorderColor(java.awt.Color value)
Color of the bottom line. |
void |
setBottomBorderKnownColor(ExcelColors value)
Excel color of the bottom line. |
void |
setBottomBorderStyle(LineStyleType value)
Bottom border line style. |
void |
setColor(java.awt.Color value)
Pattern foreground color. |
void |
setDxfId(int value)
|
void |
setFillPattern(ExcelPatternType value)
XlsFill pattern type. |
void |
setFirstFormula(java.lang.String value)
First formula. |
void |
setFontColor(java.awt.Color value)
set Font color. |
void |
setFontKnownColor(ExcelColors value)
Font excel color. |
void |
setFormatType(ConditionalFormatType value)
conditional format type. |
void |
setKnownColor(ExcelColors value)
Pattern foreground excel color. |
void |
setLeftBorderColor(com.spire.ms.System.Drawing.Color value)
Color of the left line. |
void |
setLeftBorderColor(java.awt.Color value)
set Color of the left line. |
void |
setLeftBorderKnownColor(ExcelColors value)
Excel color of the left line. |
void |
setLeftBorderStyle(LineStyleType value)
Left border line style. |
void |
setNumberFormat(java.lang.String value)
|
void |
setOperator(ComparisonOperatorType value)
Type of the comparison operator. |
void |
setPriority(int value)
Priority. |
void |
setRightBorderColor(java.awt.Color value)
Color of the right line. |
void |
setRightBorderKnownColor(ExcelColors value)
Color of the right line. |
void |
setRightBorderStyle(LineStyleType value)
Right border line style. |
void |
setSecondFormula(java.lang.String value)
Second formula. |
void |
setStopIfTrue(boolean value)
True, no rules with lower priority may be applied over this rule, when this rule evaluates to true. |
void |
setTimePeriod(TimePeriodType timePeriod)
|
void |
setTopBorderColor(java.awt.Color value)
Color of the top line. |
void |
setTopBorderKnownColor(ExcelColors value)
Excel color of the top line. |
void |
setTopBorderStyle(LineStyleType value)
Top border line style. |
void |
setUnderline(FontUnderlineType value)
Underline type. |
| Methods inherited from class com.spire.xls.core.spreadsheet.XlsObject |
|---|
dispose |
| Methods inherited from interface com.spire.xls.core.IConditionalFormat |
|---|
getBackColorInner, setBackColor, setFontColor |
| Constructor Detail |
|---|
public XlsConditionalFormat(java.lang.Object parent)
parent - Parent object for the ConditionalFormat.
public XlsConditionalFormat(java.lang.Object parent,
FormatCondition fc)
| Method Detail |
|---|
public int getPriority()
IConditionalFormat
getPriority in interface IConditionalFormatpublic void setPriority(int value)
IConditionalFormat
setPriority in interface IConditionalFormatpublic boolean getStopIfTrue()
public void setStopIfTrue(boolean value)
public int getDxfId()
public void setDxfId(int value)
public Average getAverage()
public TopBottom getTopBottom()
public ExcelColors getLeftBorderKnownColor()
getLeftBorderKnownColor in interface IConditionalFormatpublic void setLeftBorderKnownColor(ExcelColors value)
setLeftBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getLeftBorderColor()
getLeftBorderColor in interface IConditionalFormatpublic void setLeftBorderColor(com.spire.ms.System.Drawing.Color value)
public void setLeftBorderColor(java.awt.Color value)
setLeftBorderColor in interface IConditionalFormatvalue - public LineStyleType getLeftBorderStyle()
getLeftBorderStyle in interface IConditionalFormatpublic void setLeftBorderStyle(LineStyleType value)
setLeftBorderStyle in interface IConditionalFormatpublic ExcelColors getRightBorderKnownColor()
getRightBorderKnownColor in interface IConditionalFormatpublic void setRightBorderKnownColor(ExcelColors value)
setRightBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getRightBorderColor()
getRightBorderColor in interface IConditionalFormatpublic void setRightBorderColor(java.awt.Color value)
setRightBorderColor in interface IConditionalFormatpublic LineStyleType getRightBorderStyle()
getRightBorderStyle in interface IConditionalFormatpublic void setRightBorderStyle(LineStyleType value)
setRightBorderStyle in interface IConditionalFormatpublic ExcelColors getTopBorderKnownColor()
getTopBorderKnownColor in interface IConditionalFormatpublic void setTopBorderKnownColor(ExcelColors value)
setTopBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getTopBorderColor()
getTopBorderColor in interface IConditionalFormatpublic void setTopBorderColor(java.awt.Color value)
setTopBorderColor in interface IConditionalFormatvalue - Color of the top line.public LineStyleType getTopBorderStyle()
getTopBorderStyle in interface IConditionalFormatpublic void setTopBorderStyle(LineStyleType value)
setTopBorderStyle in interface IConditionalFormatpublic ExcelColors getBottomBorderKnownColor()
getBottomBorderKnownColor in interface IConditionalFormatpublic void setBottomBorderKnownColor(ExcelColors value)
setBottomBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getBottomBorderColor()
getBottomBorderColor in interface IConditionalFormatpublic void setBottomBorderColor(java.awt.Color value)
setBottomBorderColor in interface IConditionalFormatpublic LineStyleType getBottomBorderStyle()
getBottomBorderStyle in interface IConditionalFormatpublic void setBottomBorderStyle(LineStyleType value)
setBottomBorderStyle in interface IConditionalFormatpublic java.lang.String getFirstFormula()
getFirstFormula in interface IConditionalFormatpublic void setFirstFormula(java.lang.String value)
setFirstFormula in interface IConditionalFormatpublic void setTimePeriod(TimePeriodType timePeriod)
public java.lang.String getSecondFormula()
getSecondFormula in interface IConditionalFormatpublic void setSecondFormula(java.lang.String value)
setSecondFormula in interface IConditionalFormatpublic ConditionalFormatType getFormatType()
getFormatType in interface IConditionalFormatpublic void setFormatType(ConditionalFormatType value)
setFormatType in interface IConditionalFormatpublic ComparisonOperatorType getOperator()
getOperator in interface IConditionalFormatpublic void setOperator(ComparisonOperatorType value)
setOperator in interface IConditionalFormatpublic boolean isBold()
isBold in interface IConditionalFormatpublic void isBold(boolean value)
isBold in interface IConditionalFormatpublic boolean isItalic()
isItalic in interface IConditionalFormatpublic void isItalic(boolean value)
isItalic in interface IConditionalFormatpublic ExcelColors getFontKnownColor()
getFontKnownColor in interface IConditionalFormatpublic void setFontKnownColor(ExcelColors value)
setFontKnownColor in interface IConditionalFormatpublic com.spire.ms.System.Drawing.Color getFontColorInner()
getFontColorInner in interface IConditionalFormatpublic java.awt.Color getFontColor()
getFontColor in interface IConditionalFormatpublic void setFontColor(java.awt.Color value)
setFontColor in interface IConditionalFormatvalue - public FontUnderlineType getUnderline()
getUnderline in interface IConditionalFormatpublic void setUnderline(FontUnderlineType value)
public boolean isStrikeThrough()
isStrikeThrough in interface IConditionalFormatpublic void isStrikeThrough(boolean value)
isStrikeThrough in interface IConditionalFormatpublic boolean isSuperScript()
isSuperScript in interface IConditionalFormatpublic void isSuperScript(boolean value)
isSuperScript in interface IConditionalFormatpublic boolean isSubScript()
isSubScript in interface IConditionalFormatpublic void isSubScript(boolean value)
isSubScript in interface IConditionalFormatpublic ExcelColors getKnownColor()
getKnownColor in interface IConditionalFormatpublic void setKnownColor(ExcelColors value)
setKnownColor in interface IConditionalFormatpublic java.awt.Color getColor()
getColor in interface IConditionalFormatpublic void setColor(java.awt.Color value)
setColor in interface IConditionalFormatpublic ExcelColors getBackKnownColor()
getBackKnownColor in interface IConditionalFormatpublic void setBackKnownColor(ExcelColors value)
setBackKnownColor in interface IConditionalFormatpublic java.awt.Color getBackColor()
getBackColor in interface IConditionalFormatpublic void setBackColor(java.awt.Color value)
setBackColor in interface IConditionalFormatvalue - public ExcelPatternType getFillPattern()
getFillPattern in interface IConditionalFormatpublic void setFillPattern(ExcelPatternType value)
setFillPattern in interface IConditionalFormatpublic boolean isFontFormatPresent()
public void isFontFormatPresent(boolean value)
public boolean isBorderFormatPresent()
public void isBorderFormatPresent(boolean value)
public boolean isPatternFormatPresent()
public void isPatternFormatPresent(boolean value)
public DataBar getDataBar()
IConditionalFormat
getDataBar in interface IConditionalFormatpublic IconSet getIconSet()
getIconSet in interface IConditionalFormatpublic ColorScale getColorScale()
getColorScale in interface IConditionalFormatpublic java.lang.String getNumberFormat()
public void setNumberFormat(java.lang.String value)
public boolean isNumberFormatPresent()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The Object to compare with the current Object.
public java.lang.Object deepClone(java.lang.Object parent)
parent - Parent object for a copy of this instance.
public OColor getOColor()
public OColor getBackColorObject()
public OColor getTopBorderColorObject()
public OColor getBottomBorderColorObject()
public OColor getLeftBorderColorObject()
public OColor getRightBorderColorObject()
public OColor getFontColorObject()
public java.lang.String makeFormula()
public java.lang.String makeFormula(java.lang.String para)
public java.lang.String makeFormula(double para)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||