All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.graphics.VHRBorder

java.lang.Object
   |
   +----jp.kyasu.graphics.VObject
           |
           +----jp.kyasu.graphics.VBorder
                   |
                   +----jp.kyasu.graphics.VHRBorder

public class VHRBorder
extends VBorder
The VHRBorder class implements a horizontal line border.

Version:
01 Aug 1997
Author:
Kazuki YASUMATSU

Constructor Index

 o VHRBorder()
Constructs a horizontal line border.
 o VHRBorder(int)
Constructs a horizontal line border with the specified height.
 o VHRBorder(int, int)
Constructs a horizontal line border with the specified width and height.

Method Index

 o getInsets()
Returns the insets of this horizontal line border.
 o paint(Graphics, int, int, int, int)
Paints the horizontal line border at the specified location, with the specified dimension.

Constructors

 o VHRBorder
 public VHRBorder()
Constructs a horizontal line border.

 o VHRBorder
 public VHRBorder(int height)
Constructs a horizontal line border with the specified height.

Parameters:
width - the width of the horizontal line border.
 o VHRBorder
 public VHRBorder(int width,
                  int height)
Constructs a horizontal line border with the specified width and height.

Parameters:
width - the width of the horizontal line border.
height - the height of the horizontal line border.

Methods

 o getInsets
 public Insets getInsets()
Returns the insets of this horizontal line border.

Overrides:
getInsets in class VBorder
See Also:
getInsets
 o paint
 public void paint(Graphics g,
                   int x,
                   int y,
                   int width,
                   int height)
Paints the horizontal line border at the specified location, with the specified dimension.

Overrides:
paint in class VBorder
See Also:
paint

All Packages  Class Hierarchy  This Package  Previous  Next  Index