|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.core.spreadsheet.CommonWrapper
com.spire.xls.ConditionalFormatWrapper
public class ConditionalFormatWrapper
Summary description for conditional format wrapper.
| Constructor Summary | |
|---|---|
ConditionalFormatWrapper(CondFormatCollectionWrapper formats,
int iIndex)
Creates new instance of the wrapper. |
|
| Method Summary | |
|---|---|
Average |
getAverage()
|
java.awt.Color |
getBackColor()
Gets Pattern background color. |
OColor |
getBackColorObject()
Gets conditional format background color. |
ExcelColors |
getBackKnownColor()
Gets pattern background color. |
java.awt.Color |
getBottomBorderColor()
Gets color of the bottom line |
OColor |
getBottomBorderColorObject()
Gets conditional format bottom border color. |
ExcelColors |
getBottomBorderKnownColor()
Gets color of the bottom line. |
LineStyleType |
getBottomBorderStyle()
Gets bottom border line style. |
java.awt.Color |
getColor()
Gets pattern foreground color. |
ColorScale |
getColorScale()
Returns color scale settings. |
DataBar |
getDataBar()
Returns data bar settings. |
int |
getDxfId()
|
ExcelPatternType |
getFillPattern()
Gets xls fill pattern style. |
java.lang.String |
getFirstFormula()
Gets first formula. |
java.lang.String |
getFirstFormulaR1C1()
Gets first formula. |
java.awt.Color |
getFontColor()
Gets font color. |
com.spire.ms.System.Drawing.Color |
getFontColorInner()
Gets font color. |
OColor |
getFontColorObject()
Gets conditional format font color. |
ExcelColors |
getFontKnownColor()
Gets font color. |
ConditionalFormatType |
getFormatType()
Gets type of the conditional format. |
IconSet |
getIconSet()
Returns iconset settings. |
com.spire.ms.System.Drawing.Color |
getInnerTopBorderColor()
Gets color of the top line |
ExcelColors |
getKnownColor()
Gets pattern foreground color. |
java.awt.Color |
getLeftBorderColor()
Gets color of the left line. |
OColor |
getLeftBorderColorObject()
Conditional format left border color. |
ExcelColors |
getLeftBorderKnownColor()
Gets color of the left line. |
LineStyleType |
getLeftBorderStyle()
Gets left border line style. |
java.lang.String |
getNumberFormat()
|
OColor |
getOColor()
Gets conditional format color. |
ComparisonOperatorType |
getOperator()
Gets type of the comparison operator. |
java.lang.Object |
getParent()
Gets parent object for this object. |
int |
getPriority()
Priority. |
java.awt.Color |
getRightBorderColor()
Gets color of the right line. |
ExcelColors |
getRightBorderKnownColor()
Gets color of the right line. |
LineStyleType |
getRightBorderStyle()
Gets right border line style. |
java.lang.String |
getSecondFormula()
Gets second formula. |
java.lang.String |
getSecondFormulaR1C1()
Gets first formula. |
boolean |
getStopIfTrue()
|
java.awt.Color |
getTopBorderColor()
Gets color of the top line |
OColor |
getTopBorderColorObject()
Gets conditional format top border color. |
ExcelColors |
getTopBorderKnownColor()
Gets color of the top line. |
LineStyleType |
getTopBorderStyle()
Gets top border line style. |
TopBottom |
getTopBottom()
|
FontUnderlineType |
getUnderline()
Gets underline type. |
boolean |
isBackgroundColorPresent()
Gets if true - background color present. |
void |
isBackgroundColorPresent(boolean flag)
Sets if true - background color present. |
boolean |
isBold()
Indicates whether the font is bold. |
void |
isBold(boolean isBold)
Sets whether the font is bold. |
boolean |
isBorderFormatPresent()
Gets if contains border formatting. |
void |
isBorderFormatPresent(boolean value)
Sets if contains border formatting. |
boolean |
isFontColorPresent()
If true - format color present. |
void |
isFontColorPresent(boolean value)
If true - format color present. |
boolean |
isFontFormatPresent()
True if contains font formatting. |
void |
isFontFormatPresent(boolean value)
Sets if contains font formatting. |
boolean |
isItalic()
Indicates whether font is italic. |
void |
isItalic(boolean isItalic)
Sets whether font is italic. |
boolean |
isPatternColorPresent()
Indicates whether pattern color . |
void |
isPatternColorPresent(boolean value)
Sets whether pattern color . |
boolean |
isPatternFormatPresent()
True if contains pattern formatting. |
void |
isPatternFormatPresent(boolean value)
True if contains pattern formatting. |
boolean |
isStrikeThrough()
Indicates whether font is struck through. |
void |
isStrikeThrough(boolean flag)
Sets whether font is struck through. |
boolean |
isSubScript()
Indicates whether font is subscript. |
void |
isSubScript(boolean isSubScript)
Sets whether font is subscript. |
boolean |
isSuperScript()
Indicates whether font is superscript. |
void |
isSuperScript(boolean isSuperScript)
Sets whether font is superscript. |
java.lang.String |
makeFormula()
|
java.lang.String |
makeFormula(java.lang.String para)
|
void |
setBackColor(java.awt.Color backColor)
Sets Pattern background color. |
void |
setBackKnownColor(ExcelColors backKnownColor)
Sets pattern background color. |
void |
setBottomBorderColor(java.awt.Color bottomBorderColor)
Sets color of the bottom line |
void |
setBottomBorderKnownColor(ExcelColors bottomBorderKnownColor)
Sets color of the bottom line. |
void |
setBottomBorderStyle(LineStyleType bottomBorderStyle)
Sets bottom border line style. |
void |
setColor(java.awt.Color color)
Sets pattern foreground color. |
void |
setDxfId(int dxfId)
|
void |
setFillPattern(ExcelPatternType fillPattern)
Sets xls fill pattern style. |
void |
setFirstFormula(java.lang.String firstFormula)
Sets first formula. |
void |
setFirstFormulaR1C1(java.lang.String firstFormulaR1C1)
Sets first formula. |
void |
setFontColor(java.awt.Color fontColor)
Sets font color. |
void |
setFontKnownColor(ExcelColors fontKnownColor)
Sets font color. |
void |
setFormatType(ConditionalFormatType formatType)
Sets type of the conditional format. |
void |
setKnownColor(ExcelColors knownColor)
Sets pattern foreground color. |
void |
setLeftBorderColor(java.awt.Color leftBorderColor)
Sets color of the left line. |
void |
setLeftBorderKnownColor(ExcelColors leftBorderKnownColor)
Sets color of the left line. |
void |
setLeftBorderStyle(LineStyleType leftBorderStyle)
Sets left border line style. |
void |
setNumberFormat(java.lang.String numberFormat)
|
void |
setOperator(ComparisonOperatorType operator)
Sets type of the comparison operator. |
void |
setPriority(int priority)
Priority. |
void |
setRightBorderColor(java.awt.Color rightBorderColor)
Color of the right line. |
void |
setRightBorderKnownColor(ExcelColors rightBorderKnownColor)
Sets color of the right line. |
void |
setRightBorderStyle(LineStyleType rightBorderStyle)
Sets right border line style. |
void |
setSecondFormula(java.lang.String secondFormula)
Sets second formula. |
void |
setSecondFormulaR1C1(java.lang.String secondFormulaR1C1)
Sets first formula. |
void |
setStopIfTrue(boolean stopIfTrue)
|
void |
setTimePeriod(TimePeriodType timePeriod)
|
void |
setTopBorderColor(java.awt.Color topBorderColor)
Sets color of the top line |
void |
setTopBorderKnownColor(ExcelColors topBorderKnownColor)
Sets color of the top line. |
void |
setTopBorderStyle(LineStyleType topBorderStyle)
Sets top border line style. |
void |
setUnderline(FontUnderlineType underline)
Sets underline type. |
| Methods inherited from class com.spire.xls.core.spreadsheet.CommonWrapper |
|---|
beginUpdate, endUpdate |
| Methods inherited from interface com.spire.xls.core.IConditionalFormat |
|---|
getBackColorInner, setBackColor, setFontColor |
| Constructor Detail |
|---|
public ConditionalFormatWrapper(CondFormatCollectionWrapper formats,
int iIndex)
formats - Parent formats collection.iIndex - Condition index.| Method Detail |
|---|
public java.lang.Object getParent()
public int getPriority()
IConditionalFormat
getPriority in interface IConditionalFormatpublic void setPriority(int priority)
IConditionalFormat
setPriority in interface IConditionalFormatpublic TopBottom getTopBottom()
public Average getAverage()
public ConditionalFormatType getFormatType()
getFormatType in interface IConditionalFormatpublic void setFormatType(ConditionalFormatType formatType)
setFormatType in interface IConditionalFormatpublic boolean getStopIfTrue()
public void setStopIfTrue(boolean stopIfTrue)
public ComparisonOperatorType getOperator()
getOperator in interface IConditionalFormatpublic void setOperator(ComparisonOperatorType operator)
setOperator in interface IConditionalFormatpublic boolean isBold()
isBold in interface IConditionalFormatpublic void isBold(boolean isBold)
isBold in interface IConditionalFormatpublic boolean isItalic()
isItalic in interface IConditionalFormatpublic void isItalic(boolean isItalic)
isItalic in interface IConditionalFormatpublic ExcelColors getFontKnownColor()
getFontKnownColor in interface IConditionalFormatpublic void setFontKnownColor(ExcelColors fontKnownColor)
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 fontColor)
IConditionalFormat
setFontColor in interface IConditionalFormatpublic FontUnderlineType getUnderline()
getUnderline in interface IConditionalFormatpublic void setUnderline(FontUnderlineType underline)
public boolean isStrikeThrough()
isStrikeThrough in interface IConditionalFormatpublic void isStrikeThrough(boolean flag)
isStrikeThrough in interface IConditionalFormatpublic ExcelColors getLeftBorderKnownColor()
getLeftBorderKnownColor in interface IConditionalFormatpublic void setLeftBorderKnownColor(ExcelColors leftBorderKnownColor)
setLeftBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getLeftBorderColor()
getLeftBorderColor in interface IConditionalFormatpublic void setLeftBorderColor(java.awt.Color leftBorderColor)
setLeftBorderColor in interface IConditionalFormatleftBorderColor - public LineStyleType getLeftBorderStyle()
getLeftBorderStyle in interface IConditionalFormatpublic void setLeftBorderStyle(LineStyleType leftBorderStyle)
setLeftBorderStyle in interface IConditionalFormatpublic ExcelColors getRightBorderKnownColor()
getRightBorderKnownColor in interface IConditionalFormatpublic void setRightBorderKnownColor(ExcelColors rightBorderKnownColor)
setRightBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getRightBorderColor()
getRightBorderColor in interface IConditionalFormatpublic void setRightBorderColor(java.awt.Color rightBorderColor)
setRightBorderColor in interface IConditionalFormatpublic LineStyleType getRightBorderStyle()
getRightBorderStyle in interface IConditionalFormatpublic void setRightBorderStyle(LineStyleType rightBorderStyle)
setRightBorderStyle in interface IConditionalFormatpublic ExcelColors getTopBorderKnownColor()
getTopBorderKnownColor in interface IConditionalFormatpublic void setTopBorderKnownColor(ExcelColors topBorderKnownColor)
setTopBorderKnownColor in interface IConditionalFormatpublic com.spire.ms.System.Drawing.Color getInnerTopBorderColor()
public java.awt.Color getTopBorderColor()
getTopBorderColor in interface IConditionalFormatpublic void setTopBorderColor(java.awt.Color topBorderColor)
setTopBorderColor in interface IConditionalFormattopBorderColor - Color of the top linepublic LineStyleType getTopBorderStyle()
getTopBorderStyle in interface IConditionalFormatpublic void setTopBorderStyle(LineStyleType topBorderStyle)
setTopBorderStyle in interface IConditionalFormatpublic ExcelColors getBottomBorderKnownColor()
getBottomBorderKnownColor in interface IConditionalFormatpublic void setBottomBorderKnownColor(ExcelColors bottomBorderKnownColor)
setBottomBorderKnownColor in interface IConditionalFormatpublic java.awt.Color getBottomBorderColor()
getBottomBorderColor in interface IConditionalFormatpublic void setBottomBorderColor(java.awt.Color bottomBorderColor)
setBottomBorderColor in interface IConditionalFormatpublic LineStyleType getBottomBorderStyle()
getBottomBorderStyle in interface IConditionalFormatpublic void setBottomBorderStyle(LineStyleType bottomBorderStyle)
setBottomBorderStyle in interface IConditionalFormatpublic java.lang.String getFirstFormula()
getFirstFormula in interface IConditionalFormatpublic void setFirstFormula(java.lang.String firstFormula)
setFirstFormula in interface IConditionalFormatpublic java.lang.String getFirstFormulaR1C1()
public void setFirstFormulaR1C1(java.lang.String firstFormulaR1C1)
public java.lang.String getSecondFormulaR1C1()
public void setSecondFormulaR1C1(java.lang.String secondFormulaR1C1)
public java.lang.String getSecondFormula()
getSecondFormula in interface IConditionalFormatpublic void setSecondFormula(java.lang.String secondFormula)
setSecondFormula in interface IConditionalFormatpublic ExcelColors getKnownColor()
getKnownColor in interface IConditionalFormatpublic void setKnownColor(ExcelColors knownColor)
setKnownColor in interface IConditionalFormatpublic java.awt.Color getColor()
getColor in interface IConditionalFormatpublic void setColor(java.awt.Color color)
setColor in interface IConditionalFormatpublic ExcelColors getBackKnownColor()
getBackKnownColor in interface IConditionalFormatpublic void setBackKnownColor(ExcelColors backKnownColor)
setBackKnownColor in interface IConditionalFormatpublic java.awt.Color getBackColor()
getBackColor in interface IConditionalFormatpublic void setBackColor(java.awt.Color backColor)
setBackColor in interface IConditionalFormatbackColor - public ExcelPatternType getFillPattern()
getFillPattern in interface IConditionalFormatpublic void setFillPattern(ExcelPatternType fillPattern)
setFillPattern in interface IConditionalFormatpublic boolean isSuperScript()
isSuperScript in interface IConditionalFormatpublic void isSuperScript(boolean isSuperScript)
isSuperScript in interface IConditionalFormatpublic boolean isSubScript()
isSubScript in interface IConditionalFormatpublic void isSubScript(boolean isSubScript)
isSubScript in interface IConditionalFormatpublic java.lang.String getNumberFormat()
public void setNumberFormat(java.lang.String numberFormat)
public ColorScale getColorScale()
getColorScale in interface IConditionalFormatpublic DataBar getDataBar()
getDataBar in interface IConditionalFormatpublic IconSet getIconSet()
getIconSet in interface IConditionalFormatpublic java.lang.String makeFormula()
public java.lang.String makeFormula(java.lang.String para)
public void setTimePeriod(TimePeriodType timePeriod)
public OColor getOColor()
public OColor getBackColorObject()
public OColor getTopBorderColorObject()
public OColor getBottomBorderColorObject()
public OColor getLeftBorderColorObject()
public OColor getFontColorObject()
public boolean isBackgroundColorPresent()
public void isBackgroundColorPresent(boolean flag)
public boolean isBorderFormatPresent()
public void isBorderFormatPresent(boolean value)
public boolean isFontColorPresent()
public void isFontColorPresent(boolean value)
public boolean isFontFormatPresent()
public void isFontFormatPresent(boolean value)
public boolean isPatternColorPresent()
public void isPatternColorPresent(boolean value)
public boolean isPatternFormatPresent()
public void isPatternFormatPresent(boolean value)
public int getDxfId()
public void setDxfId(int dxfId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||