|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.PatternInfo
public class PatternInfo
contains the information of Area fill effects in the file.
| Field Summary | |
|---|---|
static int |
DARK_DIAGDOWN
|
static int |
DARK_DIAGUP
|
static int |
DARK_HORIZONTAL
|
static int |
DARK_VERTICAL
|
static int |
DASHED_DIAGDOWN
|
static int |
DASHED_DIAGUP
|
static int |
DASHED_HORIZONTAL
|
static int |
DASHED_VERTICAL
|
static int |
DIAGONAL_BRICK
|
static int |
DIVOT
|
static int |
DOTTED_DIAMOND
|
static int |
DOTTED_GRID
|
static int |
HORIZONTAL_BRICK
|
static int |
LARGE_CHECKERBOARD
|
static int |
LARGE_CONFETTI
|
static int |
LARGE_GRID
|
static int |
LIGHT_DIAGDOWN
|
static int |
LIGHT_DIAGUP
|
static int |
LIGHT_HORIZONTAL
|
static int |
LIGHT_VERTICAL
|
static int |
NARROW_HORIZONTAL
|
static int |
NARROW_VERTICAL
|
static int |
OUTLINE_DIAMOND
|
static int |
PERCENT10
|
static int |
PERCENT20
|
static int |
PERCENT25
|
static int |
PERCENT30
|
static int |
PERCENT40
|
static int |
PERCENT5
|
static int |
PERCENT50
|
static int |
PERCENT60
|
static int |
PERCENT70
|
static int |
PERCENT75
|
static int |
PERCENT80
|
static int |
PERCENT90
|
static int |
PLAID
|
static int |
SHINGLE
|
static int |
SMALL_CHECKERBOARD
|
static int |
SMALL_CONFETTI
|
static int |
SMALL_GRID
|
static int |
SOLID_DIAMOND
|
static int |
SPHERE
|
static int |
TRELLIS
|
static int |
WAVE
|
static int |
WEAVE
|
static int |
WIDE_DIAGDOWN
|
static int |
WIDE_DIAGUP
|
static int |
ZIG_ZAG
|
| Constructor Summary | |
|---|---|
PatternInfo()
Constructs a PatternInfo record |
|
PatternInfo(int rgb1,
int rgb2,
int type,
GlobalWorksheet gws)
Constructs a PatternInfo record and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
int |
getColor1()
Get the first color of gradient color |
int |
getColor2()
Get the the second color of gradient color |
int |
getType()
get the type of pattern color PERCENT5, LIGHT_DIAGDOWN and so on(48 kinds) |
void |
setColor1(int color,
GlobalWorksheet gws)
Set the first color of gradient color |
void |
setColor2(int color,
GlobalWorksheet gws)
Set the second color of gradient color |
void |
setType(int type)
set the type of pattern color, PERCENT5, LIGHT_DIAGDOWN and so on(48 kinds) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PERCENT5
public static final int PERCENT10
public static final int PERCENT20
public static final int PERCENT25
public static final int PERCENT30
public static final int PERCENT40
public static final int PERCENT50
public static final int PERCENT60
public static final int PERCENT70
public static final int PERCENT75
public static final int PERCENT80
public static final int PERCENT90
public static final int LIGHT_DIAGDOWN
public static final int LIGHT_DIAGUP
public static final int DARK_DIAGDOWN
public static final int DARK_DIAGUP
public static final int WIDE_DIAGDOWN
public static final int WIDE_DIAGUP
public static final int LIGHT_VERTICAL
public static final int LIGHT_HORIZONTAL
public static final int NARROW_VERTICAL
public static final int NARROW_HORIZONTAL
public static final int DARK_VERTICAL
public static final int DARK_HORIZONTAL
public static final int DASHED_DIAGDOWN
public static final int DASHED_DIAGUP
public static final int DASHED_HORIZONTAL
public static final int DASHED_VERTICAL
public static final int SMALL_CONFETTI
public static final int LARGE_CONFETTI
public static final int ZIG_ZAG
public static final int WAVE
public static final int DIAGONAL_BRICK
public static final int HORIZONTAL_BRICK
public static final int WEAVE
public static final int PLAID
public static final int DIVOT
public static final int DOTTED_GRID
public static final int DOTTED_DIAMOND
public static final int SHINGLE
public static final int TRELLIS
public static final int SPHERE
public static final int SMALL_GRID
public static final int LARGE_GRID
public static final int SMALL_CHECKERBOARD
public static final int LARGE_CHECKERBOARD
public static final int OUTLINE_DIAMOND
public static final int SOLID_DIAMOND
| Constructor Detail |
|---|
public PatternInfo()
public PatternInfo(int rgb1,
int rgb2,
int type,
GlobalWorksheet gws)
rgb1 - The color1 in the gradient colorrgb2 - The color2 in the gradient colortype - Type of pattern PERCENT5, LIGHT_DIAGDOWN and so on(48 kinds)| Method Detail |
|---|
public void setColor1(int color,
GlobalWorksheet gws)
color - first color of gradient colorpublic int getColor1()
public void setColor2(int color,
GlobalWorksheet gws)
color - the second color of gradient colorpublic int getColor2()
public void setType(int type)
type - is the type of pattern colorPERCENT5,
LIGHT_DIAGDOWN,
LIGHT_VERTICAL,
DASHED_DIAGDOWN,
ZIG_ZAG,
DIVOT,
SMALL_GRIDpublic int getType()
PERCENT5,
LIGHT_DIAGDOWN,
LIGHT_VERTICAL,
DASHED_DIAGDOWN,
ZIG_ZAG,
DIVOT,
SMALL_GRID
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||