|
|||||||||
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,
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, fc)
method detail |
---|
public int getpriority()
iconditionalformat
getpriority
in interface iconditionalformat
public void setpriority(int value)
iconditionalformat
setpriority
in interface iconditionalformat
public 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 iconditionalformat
public void setleftborderknowncolor(excelcolors value)
setleftborderknowncolor
in interface iconditionalformat
public java.awt.color getleftbordercolor()
getleftbordercolor
in interface iconditionalformat
public void setleftbordercolor(com.spire.ms.system.drawing.color value)
public void setleftbordercolor(java.awt.color value)
setleftbordercolor
in interface iconditionalformat
value
- public linestyletype getleftborderstyle()
getleftborderstyle
in interface iconditionalformat
public void setleftborderstyle(linestyletype value)
setleftborderstyle
in interface iconditionalformat
public excelcolors getrightborderknowncolor()
getrightborderknowncolor
in interface iconditionalformat
public void setrightborderknowncolor(excelcolors value)
setrightborderknowncolor
in interface iconditionalformat
public java.awt.color getrightbordercolor()
getrightbordercolor
in interface iconditionalformat
public void setrightbordercolor(java.awt.color value)
setrightbordercolor
in interface iconditionalformat
public linestyletype getrightborderstyle()
getrightborderstyle
in interface iconditionalformat
public void setrightborderstyle(linestyletype value)
setrightborderstyle
in interface iconditionalformat
public excelcolors gettopborderknowncolor()
gettopborderknowncolor
in interface iconditionalformat
public void settopborderknowncolor(excelcolors value)
settopborderknowncolor
in interface iconditionalformat
public java.awt.color gettopbordercolor()
gettopbordercolor
in interface iconditionalformat
public void settopbordercolor(java.awt.color value)
settopbordercolor
in interface iconditionalformat
value
- color of the top line.public linestyletype gettopborderstyle()
gettopborderstyle
in interface iconditionalformat
public void settopborderstyle(linestyletype value)
settopborderstyle
in interface iconditionalformat
public excelcolors getbottomborderknowncolor()
getbottomborderknowncolor
in interface iconditionalformat
public void setbottomborderknowncolor(excelcolors value)
setbottomborderknowncolor
in interface iconditionalformat
public java.awt.color getbottombordercolor()
getbottombordercolor
in interface iconditionalformat
public void setbottombordercolor(java.awt.color value)
setbottombordercolor
in interface iconditionalformat
public linestyletype getbottomborderstyle()
getbottomborderstyle
in interface iconditionalformat
public void setbottomborderstyle(linestyletype value)
setbottomborderstyle
in interface iconditionalformat
public java.lang.string getfirstformula()
getfirstformula
in interface iconditionalformat
public void setfirstformula(java.lang.string value)
setfirstformula
in interface iconditionalformat
public void settimeperiod(timeperiodtype timeperiod)
public java.lang.string getsecondformula()
getsecondformula
in interface iconditionalformat
public void setsecondformula(java.lang.string value)
setsecondformula
in interface iconditionalformat
public conditionalformattype getformattype()
getformattype
in interface iconditionalformat
public void setformattype(conditionalformattype value)
setformattype
in interface iconditionalformat
public comparisonoperatortype getoperator()
getoperator
in interface iconditionalformat
public void setoperator(comparisonoperatortype value)
setoperator
in interface iconditionalformat
public boolean isbold()
isbold
in interface iconditionalformat
public void isbold(boolean value)
isbold
in interface iconditionalformat
public boolean isitalic()
isitalic
in interface iconditionalformat
public void isitalic(boolean value)
isitalic
in interface iconditionalformat
public excelcolors getfontknowncolor()
getfontknowncolor
in interface iconditionalformat
public void setfontknowncolor(excelcolors value)
setfontknowncolor
in interface iconditionalformat
public com.spire.ms.system.drawing.color getfontcolorinner()
getfontcolorinner
in interface iconditionalformat
public java.awt.color getfontcolor()
getfontcolor
in interface iconditionalformat
public void setfontcolor(java.awt.color value)
setfontcolor
in interface iconditionalformat
value
- public fontunderlinetype getunderline()
getunderline
in interface iconditionalformat
public void setunderline(fontunderlinetype value)
public boolean isstrikethrough()
isstrikethrough
in interface iconditionalformat
public void isstrikethrough(boolean value)
isstrikethrough
in interface iconditionalformat
public boolean issuperscript()
issuperscript
in interface iconditionalformat
public void issuperscript(boolean value)
issuperscript
in interface iconditionalformat
public boolean issubscript()
issubscript
in interface iconditionalformat
public void issubscript(boolean value)
issubscript
in interface iconditionalformat
public excelcolors getknowncolor()
getknowncolor
in interface iconditionalformat
public void setknowncolor(excelcolors value)
setknowncolor
in interface iconditionalformat
public java.awt.color getcolor()
getcolor
in interface iconditionalformat
public void setcolor(java.awt.color value)
setcolor
in interface iconditionalformat
public excelcolors getbackknowncolor()
getbackknowncolor
in interface iconditionalformat
public void setbackknowncolor(excelcolors value)
setbackknowncolor
in interface iconditionalformat
public java.awt.color getbackcolor()
getbackcolor
in interface iconditionalformat
public void setbackcolor(java.awt.color value)
setbackcolor
in interface iconditionalformat
value
- public excelpatterntype getfillpattern()
getfillpattern
in interface iconditionalformat
public void setfillpattern(excelpatterntype value)
setfillpattern
in interface iconditionalformat
public 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 iconditionalformat
public iconset geticonset()
geticonset
in interface iconditionalformat
public colorscale getcolorscale()
getcolorscale
in interface iconditionalformat
public java.lang.string getnumberformat()
public void setnumberformat(java.lang.string value)
public boolean isnumberformatpresent()
public int hashcode()
hashcode
in class java.lang.object
public boolean equals(java.lang.object obj)
equals
in class java.lang.object
obj
- 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 |