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
-
VBorder()
- Constructs a visual border.
-
VBorder(int, int)
- Constructs a visual border with the specified width and height.
-
getInsets()
- Returns the insets of this visual border.
-
paint(Graphics, int, int, int, int)
- Paints the visual border at the specified location,
with the specified dimension.
-
paint(Graphics, Point)
- Paints the visual border at the specified location.
VBorder
public VBorder()
- Constructs a visual border.
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.
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.
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.
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