|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.report.xls.PatternInfo
public class PatternInfo
Contains the information of Area fill effects in the file.
Field Summary | |
---|---|
static int |
DARK_DIAGDOWN
Represents dark downward diagonal pattern. |
static int |
DARK_DIAGUP
Represents dark upward diagonal pattern. |
static int |
DARK_HORIZONTAL
Represents dark horizontal pattern. |
static int |
DARK_VERTICAL
Represents dark vertical pattern. |
static int |
DASHED_DIAGDOWN
Represents dashed downward diagonal pattern. |
static int |
DASHED_DIAGUP
Represents dashed upward diagonal pattern. |
static int |
DASHED_HORIZONTAL
Represents dashed horizontal pattern. |
static int |
DASHED_VERTICAL
Represents dashed vertical pattern. |
static int |
DIAGONAL_BRICK
Represents diagonal brick pattern. |
static int |
DIVOT
Represents divot pattern. |
static int |
DOTTED_DIAMOND
Represents dotted diamond pattern. |
static int |
DOTTED_GRID
Represents dotted grid pattern. |
static int |
HORIZONTAL_BRICK
Represents horizontal brick pattern. |
static int |
LARGE_CHECKERBOARD
Represents large checker board pattern. |
static int |
LARGE_CONFETTI
Represents large confetti pattern. |
static int |
LARGE_GRID
Represents large grid pattern. |
static int |
LIGHT_DIAGDOWN
Represents light downward diagonal pattern. |
static int |
LIGHT_DIAGUP
Represents light upward diagonal pattern. |
static int |
LIGHT_HORIZONTAL
Represents light horizontal pattern. |
static int |
LIGHT_VERTICAL
Represents light vertical pattern. |
static int |
NARROW_HORIZONTAL
Represents narrow horizontal pattern. |
static int |
NARROW_VERTICAL
Represents narrow vertical pattern. |
static int |
OUTLINE_DIAMOND
Represents outlined diamond pattern. |
static int |
PERCENT10
Represents 10% gray pattern. |
static int |
PERCENT20
Represents 20% gray pattern. |
static int |
PERCENT25
Represents 25% gray pattern. |
static int |
PERCENT30
Represents 30% gray pattern. |
static int |
PERCENT40
Represents 40% gray pattern. |
static int |
PERCENT5
Represents 5% gray pattern. |
static int |
PERCENT50
Represents 50% gray pattern. |
static int |
PERCENT60
Represents 60% gray pattern. |
static int |
PERCENT70
Represents 70% gray pattern. |
static int |
PERCENT75
Represents 75% gray pattern. |
static int |
PERCENT80
Represents 80% gray pattern. |
static int |
PERCENT90
Represents 90% gray pattern. |
static int |
PLAID
Represents plaid pattern. |
static int |
SHINGLE
Represents shingle pattern. |
static int |
SMALL_CHECKERBOARD
Represents small checker board pattern. |
static int |
SMALL_CONFETTI
Represents small confetti pattern. |
static int |
SMALL_GRID
Represents small grid pattern. |
static int |
SOLID_DIAMOND
Represents solid diamond pattern. |
static int |
SPHERE
Represents sphere pattern. |
static int |
TRELLIS
Represents trellis pattern. |
static int |
WAVE
Represents wave pattern. |
static int |
WEAVE
Represents weave pattern. |
static int |
WIDE_DIAGDOWN
Represents wide downward diagonal pattern. |
static int |
WIDE_DIAGUP
Represents wide upward diagonal pattern. |
static int |
ZIG_ZAG
Represents zig zag pattern. |
Constructor Summary | |
---|---|
PatternInfo()
Constructs a PatternInfo with the default parameter. |
|
PatternInfo(int rgb1,
int rgb2,
int type,
GlobalWorksheet gws)
Constructs a PatternInfo with these parameters: |
Method Summary | |
---|---|
int |
getColor1()
Gets the first color of the gradient color. |
int |
getColor2()
Gets the second color of the gradient color. |
int |
getType()
Gets the type of pattern color PERCENT5, LIGHT_DIAGDOWN and so on(48 kinds) |
void |
setColor1(int color,
GlobalWorksheet gws)
Sets the first color of the gradient color. |
void |
setColor2(int color,
GlobalWorksheet gws)
Sets the second color of the gradient color. |
void |
setType(int type)
Sets 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()
PatternInfo
with the default parameter.
public PatternInfo(int rgb1, int rgb2, int type, GlobalWorksheet gws)
PatternInfo
with these parameters:
rgb1
- color1 in the gradient colorrgb2
- color2 in the gradient colortype
- type of pattern PERCENT5, LIGHT_DIAGDOWN and so on(48 kinds)gws
- the Method Detail |
---|
public void setColor1(int color, GlobalWorksheet gws)
color
- first color of the gradient colorpublic int getColor1()
public void setColor2(int color, GlobalWorksheet gws)
color
- the second color of the gradient colorpublic int getColor2()
public void setType(int type)
type
- type of pattern colorPERCENT5
,
LIGHT_DIAGDOWN
,
LIGHT_VERTICAL
,
DASHED_DIAGDOWN
,
ZIG_ZAG
,
DIVOT
,
SMALL_GRID
public 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 |