|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the requirements for a object responsible for renderering cell borders.
Method Summary | |
void |
drawBackground(Graphics gc,
int border_thickness,
int border_sides,
int x,
int y,
int width,
int height,
Color top_color,
Color bottom_color,
Color plain_color)
Draws the border and background of a cell. |
Method Detail |
public void drawBackground(Graphics gc, int border_thickness, int border_sides, int x, int y, int width, int height, Color top_color, Color bottom_color, Color plain_color)
gc
- the color used for the backgroundborder_thickness
- the thickness of the cell borderborder_sides
- the sides on which to draw the border, a bitwise OR of
the following: BORDERSIDE_ALL, BORDERSIDE_LEFT, BORDERSIDE_RIGHT,
BORDERSIDE_TOP, BORDERSIDE_BOTTOM
x
- the horizontal start position of the bordery
- the vertical start position of the borderwidth
- the border width sizeheight
- the border height sizetop_color
- the color used for drawing the top of IN borders or the
bottom of OUT bordersbottom_color
- the color used for drawing the bottom of IN borders or
the top of OUT bordersplain_color
- the color used to draw the sides of PLAIN borders
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |