All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.graphics.VPlainBorder

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

public class VPlainBorder
extends VBorder
The VPlainBorder class implements a plain border.

Version:
01 Aug 1997
Author:
Kazuki YASUMATSU

Constructor Index

 o VPlainBorder()
Constructs a plain border.
 o VPlainBorder(Insets)
Constructs a plain border with the specified insets.
 o VPlainBorder(int, int)
Constructs a plain border with the specified width and height.
 o VPlainBorder(int, int, Insets)
Constructs a plain border with the specified width and height, and the specified insets.

Method Index

 o clone()
Returns a clone of this plain border.
 o getInsets()
Returns the insets of this plain border.
 o paint(Graphics, int, int, int, int)
Paints the plain border at the specified location, with the specified dimension.
 o setInsets(Insets)
Sets the insets of this plain border to be the specified insets.

Constructors

 o VPlainBorder
 public VPlainBorder()
Constructs a plain border.

 o VPlainBorder
 public VPlainBorder(Insets insets)
Constructs a plain border with the specified insets.

Parameters:
insets - the insets of the plain border.
 o VPlainBorder
 public VPlainBorder(int width,
                     int height)
Constructs a plain border with the specified width and height.

Parameters:
width - the width of the plain border.
height - the height of the plain border.
 o VPlainBorder
 public VPlainBorder(int width,
                     int height,
                     Insets insets)
Constructs a plain border with the specified width and height, and the specified insets.

Parameters:
width - the width of the plain border.
height - the height of the plain border.
insets - the insets of the plain border.

Methods

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

Overrides:
getInsets in class VBorder
See Also:
getInsets
 o setInsets
 public void setInsets(Insets insets)
Sets the insets of this plain border to be the specified insets.

Parameters:
insets - the insets.
 o paint
 public void paint(Graphics g,
                   int x,
                   int y,
                   int width,
                   int height)
Paints the plain border at the specified location, with the specified dimension.

Overrides:
paint in class VBorder
See Also:
paint
 o clone
 public Object clone()
Returns a clone of this plain border.

Overrides:
clone in class VObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index