All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.graphics.VBorder

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

public abstract class VBorder
extends VObject
The VBorder class is the abstract base class for all visual borders.

Version:
01 Aug 1997
Author:
Kazuki YASUMATSU

Constructor Index

 o VBorder()
Constructs a visual border.
 o VBorder(int, int)
Constructs a visual border with the specified width and height.

Method Index

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

Constructors

 o VBorder
 public VBorder()
Constructs a visual border.

 o VBorder
 public VBorder(int width,
                int height)
Constructs a visual border with the specified width and height.

Parameters:
width - the width of the visual border.
height - the height of the visual border.

Methods

 o getInsets
 public abstract Insets getInsets()
Returns the insets of this visual border. The subclasses should override this method.

Returns:
the insets of this visual border.
 o paint
 public abstract void paint(Graphics g,
                            int x,
                            int y,
                            int width,
                            int height)
Paints the visual border at the specified location, with the specified dimension. The subclasses should override this method.

Parameters:
g - the graphics.
x - the x location in the graphics.
y - the y location in the graphics.
width - the width of border.
height - the height to border.
 o paint
 public void paint(Graphics g,
                   Point p)
Paints the visual border at the specified location.

Overrides:
paint in class VObject
See Also:
paint

All Packages  Class Hierarchy  This Package  Previous  Next  Index