|
EspressReport v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Color
|
+--quadbase.common.util.internal.QbPattern
Class used to hold and make patterns for chart data How to use it: QbPattern pattern = new QbPattern(color, PatternID); BufferedImpage bImage = pattern.getPatternIMage();
| Field Summary | |
static int |
CUSTOMPATTERN
|
static long |
serialVersionUID
|
| Fields inherited from class java.awt.Color |
black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellow |
| Fields inherited from interface java.awt.Transparency |
BITMASK, OPAQUE, TRANSLUCENT |
| Constructor Summary | |
QbPattern(java.awt.Color color)
Dummy constructor. |
|
QbPattern(java.awt.Color color,
int patternTypeID)
Create a new QbPattern Object having the |
|
| Method Summary | |
java.awt.image.BufferedImage |
getPatternImage()
Light weight method to obtain a reference of the pattern BufferedImage |
int |
getPatternTypeID()
|
void |
setPatternImage(java.awt.image.BufferedImage bImage)
For API use only. |
java.lang.String |
toString()
|
| Methods inherited from class java.awt.Color |
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final long serialVersionUID
public static int CUSTOMPATTERN
| Constructor Detail |
public QbPattern(java.awt.Color color)
public QbPattern(java.awt.Color color,
int patternTypeID)
color: - the color for the patternpatternTypeID: - the ID of the predefined pattern type
if patternTypeID == 0, it doesn't have the pattern image| Method Detail |
public java.awt.image.BufferedImage getPatternImage()
nullif nothing.
Use getPatternImage(int) in such a casepublic void setPatternImage(java.awt.image.BufferedImage bImage)
bImage - public int getPatternTypeID()
public java.lang.String toString()
toString in class java.awt.Color
|
EspressReport v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||