|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.plaf.CompiereColor.ColorBackground
public class CompiereColor.ColorBackground
Background contains a Buffered Image with the background.
The initial size is determined by the constructor.
It is resized if required when painting.
The Buffered image is a 8-bit RGBA color components packed into integer pixels.
The image has a DirectColorModel with alpha. The color data in this image
is considered to be premultiplied with alpha
| Constructor Summary | |
|---|---|
CompiereColor.ColorBackground(Rectangle bounds)
Create Color Background |
|
| Method Summary | |
|---|---|
void |
fillColorBackground()
Fill Background with Color |
void |
paint(Graphics g,
JComponent c)
Paint/copy background to component |
void |
paintRect(Graphics g,
JComponent c,
int x,
int y,
int w,
int h)
Paint/copy background to component rectangle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompiereColor.ColorBackground(Rectangle bounds)
bounds - Rectangle to fit in| Method Detail |
|---|
public void fillColorBackground()
public void paint(Graphics g,
JComponent c)
g - graphicsc - component
public void paintRect(Graphics g,
JComponent c,
int x,
int y,
int w,
int h)
g - graphicsc - compnentx - x posy - y posw - widthh - height
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||