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
-
VPlainBorder()
- Constructs a plain border.
-
VPlainBorder(Insets)
- Constructs a plain border with the specified insets.
-
VPlainBorder(int, int)
- Constructs a plain border with the specified width and height.
-
VPlainBorder(int, int, Insets)
- Constructs a plain border with the specified width and height,
and the specified insets.
-
clone()
- Returns a clone of this plain border.
-
getInsets()
- Returns the insets of this plain border.
-
paint(Graphics, int, int, int, int)
- Paints the plain border at the specified location,
with the specified dimension.
-
setInsets(Insets)
- Sets the insets of this plain border to be the specified insets.
VPlainBorder
public VPlainBorder()
- Constructs a plain border.
VPlainBorder
public VPlainBorder(Insets insets)
- Constructs a plain border with the specified insets.
- Parameters:
- insets - the insets of the plain border.
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.
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.
getInsets
public Insets getInsets()
- Returns the insets of this plain border.
- Overrides:
- getInsets in class VBorder
- See Also:
- getInsets
setInsets
public void setInsets(Insets insets)
- Sets the insets of this plain border to be the specified insets.
- Parameters:
- insets - the insets.
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
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