public abstract class VBorder extends VObject
VBorder class is the abstract base class for all
visual borders.| コンストラクタと説明 |
|---|
VBorder()
Constructs a visual border.
|
VBorder(int width,
int height)
Constructs a visual border with the specified width and height.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
abstract java.awt.Insets |
getInsets()
Returns the insets of this visual border.
|
abstract void |
paint(java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints the visual border at the specified location,
with the specified dimension.
|
void |
paint(java.awt.Graphics g,
java.awt.Point p)
Paints the visual border at the specified location.
|
clone, getSize, isResizable, setSizepublic VBorder()
public VBorder(int width,
int height)
width - the width of the visual border.height - the height of the visual border.public abstract java.awt.Insets getInsets()
public abstract void paint(java.awt.Graphics g,
int x,
int y,
int width,
int height)
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.public void paint(java.awt.Graphics g,
java.awt.Point p)
paint インタフェース内 Visualizablepaint クラス内 VObjectg - the specified graphics.p - the location in the graphics to be painted.Visualizable.paint(java.awt.Graphics, java.awt.Point)