Skip navigation links
oracle.dss.dataView
Class BorderPainter
java.lang.Object
oracle.dss.dataView.BorderPainter
-
public class BorderPainter
- extends java.lang.Object
Method Summary |
protected static void |
drawHorizLine(java.awt.Graphics g, int lineWidth, int x, int y, int x2, int y2)
|
protected static void |
drawVertLine(java.awt.Graphics g, int lineWidth, int x, int y, int x2, int y2)
|
static void |
paintBorder(java.awt.Graphics g, int x, int y, int width, int height, int _lineWidth, java.awt.Color _color, int _top, int _bottom, int _left, int _right)
Paints border for the given cell area. |
static void |
paintBorder(java.awt.Graphics g, int x, int y, int width, int height, int _lineWidth, java.awt.Color _color, int _top, int _bottom, int _left, int _right, int _topWidth, int _bottomWidth, int _leftWidth, int _rightWidth, java.awt.Color _topColor, java.awt.Color _bottomColor, java.awt.Color _leftColor, java.awt.Color _rightColor)
Paints border for the given cell area. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorderPainter
public BorderPainter()
paintBorder
public static void paintBorder(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int _lineWidth,
java.awt.Color _color,
int _top,
int _bottom,
int _left,
int _right)
- Paints border for the given cell area.
-
- Parameters:
context
- PaintContext to use when painting the Border
g
- Graphics context to use when painting
x
- x coordinate to begin painting at
y
- y coordinate to begin painting at
width
- width of area to paint
height
- height of area to paint
_lineWidth
- width of border
_color
- color of border
_top
- style of top border
_bottom
- style of bottom border
_left
- style of left border
_right
- style of right border
paintBorder
public static void paintBorder(java.awt.Graphics g,
int x,
int y,
int width,
int height,
int _lineWidth,
java.awt.Color _color,
int _top,
int _bottom,
int _left,
int _right,
int _topWidth,
int _bottomWidth,
int _leftWidth,
int _rightWidth,
java.awt.Color _topColor,
java.awt.Color _bottomColor,
java.awt.Color _leftColor,
java.awt.Color _rightColor)
- Paints border for the given cell area.
-
- Parameters:
context
- PaintContext to use when painting the Border
g
- Graphics context to use when painting
x
- x coordinate to begin painting at
y
- y coordinate to begin painting at
width
- width of area to paint
height
- height of area to paint
_lineWidth
- width of border
_color
- color of border
_top
- style of top border
_bottom
- style of bottom border
_left
- style of left border
_right
- style of right border
_topWidth
- line width of top border
_bottomWidth
- line width of bottom border
_leftWidth
- line width of left border
_rightWidth
- line width of right border
_topColor
- line color of top border
_bottomColor
- line color of bottom border
_leftColor
- line color of left border
_rightColor
- line color of right border
drawHorizLine
protected static void drawHorizLine(java.awt.Graphics g,
int lineWidth,
int x,
int y,
int x2,
int y2)
drawVertLine
protected static void drawVertLine(java.awt.Graphics g,
int lineWidth,
int x,
int y,
int x2,
int y2)
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.