|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.report.xls.AreaFormatInfo
public class AreaFormatInfo
Contains the information of Area format of a chart.
Field Summary | |
---|---|
static short |
AUTOFORMAT
Auto format is used. |
static short |
NONE
Represents none formatting type. |
Constructor Summary | |
---|---|
AreaFormatInfo()
Constructs an AreaFormatInfo object and there is no color to be filled. |
|
AreaFormatInfo(GradientInfo gradientInfo)
Constructs an AreaFormatInfo object with the GradientInfo object. |
|
AreaFormatInfo(int rgbFore,
int rgbBack,
short pattern,
short grbit,
GlobalWorksheet gws)
Constructs the foreground color and background color of an AreaFormatInfo object. |
|
AreaFormatInfo(PatternInfo patternInfo)
Constructs an AreaFormatInfo object with the patternInfo object. |
|
AreaFormatInfo(jet.report.xls.TextureInfo textureInfo)
Constructs an AreaFormatInfo record and sets its fields appropriately. |
Method Summary | |
---|---|
int |
getBackColor()
Gets the background color of the area. |
int |
getForeColor()
Gets the foreground color of the area. |
GradientInfo |
getGradientInfo()
Gets the information of gradient color. |
short |
getPattern()
Gets the pattern of the area. |
PatternInfo |
getPatternInfo()
Gets the information of pattern color. |
jet.report.xls.TextureInfo |
getTextureInfo()
Gets the information of texture color. |
boolean |
isAutoFormat()
Gets whether the area is automatic format or not. |
void |
setBackColor(int color,
GlobalWorksheet gws)
Sets the background color of the area. |
void |
setForeColor(int color,
GlobalWorksheet gws)
Sets the foreground color of the area. |
void |
setGradientInfo(GradientInfo gradientInfo)
Sets the information of gradient color. |
void |
setPattern(short pattern)
Sets the pattern of the area. |
void |
setPatternInfo(PatternInfo patternInfo)
Sets the information of pattern color. |
void |
setRound(boolean round)
Specifies whether the border is round or not. |
void |
setTextureInfo(PatternInfo patternInfo)
Sets the information of texture color. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short NONE
public static final short AUTOFORMAT
Constructor Detail |
---|
public AreaFormatInfo()
public AreaFormatInfo(int rgbFore, int rgbBack, short pattern, short grbit, GlobalWorksheet gws)
rgbFore
- Foreground colorrgbBack
- Background colorpattern
- Pattern of area 1 for color 0grbit
- Format flags of area NONE or AUTOFORMATpublic AreaFormatInfo(GradientInfo gradientInfo)
GradientInfo
object. It is gradient fill format.
gradientInfo
- Information of gradient area colorpublic AreaFormatInfo(PatternInfo patternInfo)
patternInfo
object. It is pattern fill format.
patternInfo
- Information of pattern area colorpublic AreaFormatInfo(jet.report.xls.TextureInfo textureInfo)
textureInfo
- Information of texture area colorMethod Detail |
---|
public void setPattern(short pattern)
pattern
- the pattern of the areapublic short getPattern()
public boolean isAutoFormat()
public void setForeColor(int color, GlobalWorksheet gws)
color
- foreground color of the areapublic void setRound(boolean round)
round
- true if the border is roundpublic int getForeColor()
public void setBackColor(int color, GlobalWorksheet gws)
color
- background color of the areapublic int getBackColor()
public void setGradientInfo(GradientInfo gradientInfo)
gradientInfo
- the information of gradient colorpublic GradientInfo getGradientInfo()
public void setPatternInfo(PatternInfo patternInfo)
patternInfo
- the information of pattern colorpublic PatternInfo getPatternInfo()
public void setTextureInfo(PatternInfo patternInfo)
patternInfo
- the information of texture colorpublic jet.report.xls.TextureInfo getTextureInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |