|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.AreaFormatInfo
public class AreaFormatInfo
contains the information of Area format in the file.
| Field Summary | |
|---|---|
static short |
AUTOFORMAT
|
static int |
COLOR
|
static int |
GRADIENT
|
static short |
NONE
|
static int |
PATTERN
|
static int |
PICTURE
|
static int |
TEXTURE
|
| Constructor Summary | |
|---|---|
AreaFormatInfo()
Constructs a AreaFormatInfo record |
|
AreaFormatInfo(GradientInfo gradientInfo)
Constructs a AreaFormatInfo record and sets its fields appropriately. |
|
AreaFormatInfo(int rgbFore,
int rgbBack,
short pattern,
short grbit,
GlobalWorksheet gws)
Constructs a AreaFormatInfo record and sets its fields appropriately. |
|
AreaFormatInfo(PatternInfo patternInfo)
Constructs a AreaFormatInfo record and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
int |
getBackColor()
Get the background color of area |
int |
getForeColor()
Get the forground color of area |
GradientInfo |
getGradientInfo()
get the information of gradient color |
short |
getPattern()
get the pattern of area |
PatternInfo |
getPatternInfo()
get the information of pattern color |
TextureInfo |
getTextureInfo()
get the information of texture color |
boolean |
isAutoFormat()
get whether automatic format or not |
void |
setBackColor(int color,
GlobalWorksheet gws)
Set the background color of area |
void |
setForeColor(int color,
GlobalWorksheet gws)
Set the forground color of area |
void |
setGradientInfo(GradientInfo gradientInfo)
set the information of gradient color |
void |
setPattern(short pattern)
set the pattern of area |
void |
setPatternInfo(PatternInfo patternInfo)
set the information of pattern color |
void |
setTextureInfo(PatternInfo patternInfo)
set 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
public static final int COLOR
public static final int GRADIENT
public static final int TEXTURE
public static final int PATTERN
public static final int PICTURE
| 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 0 for nonegrbit - Format flags of area NONE or AUTOFORMATpublic AreaFormatInfo(GradientInfo gradientInfo)
gradientInfo - Information of gradient area colorpublic AreaFormatInfo(PatternInfo patternInfo)
patternInfo - Information of pattern area color| Method Detail |
|---|
public void setPattern(short pattern)
pattern - is the pattern of the areapublic short getPattern()
public boolean isAutoFormat()
public void setForeColor(int color,
GlobalWorksheet gws)
color - forground color of areapublic int getForeColor()
public void setBackColor(int color,
GlobalWorksheet gws)
color - background color of areapublic int getBackColor()
public void setGradientInfo(GradientInfo gradientInfo)
gradientInfo - is the information of gradient colorpublic GradientInfo getGradientInfo()
public void setPatternInfo(PatternInfo patternInfo)
patternInfo - is the information of pattern colorpublic PatternInfo getPatternInfo()
public void setTextureInfo(PatternInfo patternInfo)
textureInfo - is the information of texture colorpublic TextureInfo getTextureInfo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||