Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.dataView
Class BorderPainter

java.lang.Object
  extended by oracle.dss.dataView.BorderPainter


public class BorderPainter
extends java.lang.Object
For internal use only. Application developers should not use this
Helper class to paint our border styles around a rectangle. For use by common view.

Constructor Summary
BorderPainter()
           

 

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

 

Constructor Detail

BorderPainter

public BorderPainter()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


Copyright © 1997, 2012, Oracle. All rights reserved.