public class VTitledPaneBorder extends VPaneBorder
VTitledPaneBorder class implements a pane border
with a title that is a visual object.| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static java.awt.Insets |
TitleInsets
The default insets for the title.
|
insets| コンストラクタと説明 |
|---|
VTitledPaneBorder()
Constructs an empty titled pane border.
|
VTitledPaneBorder(int width,
int height)
Constructs an empty titled pane border with the specified
width and height.
|
VTitledPaneBorder(int width,
int height,
java.lang.String str)
Constructs a pane border with the specified width and height,
and the specified title string.
|
VTitledPaneBorder(int width,
int height,
Text text)
Constructs a pane border with the specified width and height,
and the specified title text.
|
VTitledPaneBorder(int width,
int height,
Visualizable visualizable)
Constructs a pane border with the specified width and height,
and the specified title that is a visual object.
|
VTitledPaneBorder(java.lang.String str)
Constructs a pane border with the specified title string.
|
VTitledPaneBorder(Text text)
Constructs a pane border with the specified title text.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.Object |
clone()
Returns a clone of this pane border.
|
Visualizable |
getTitle()
Returns the title of this pane border.
|
void |
paint(java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints the titled pane border at the specified location,
with the specified dimension.
|
void |
setInsets(java.awt.Insets insets)
Sets the insets of this pane border to be the specified insets.
|
void |
setTitle(Visualizable visualizable)
Sets the title of this pane border to be the specified visual object.
|
getInsetsgetSize, isResizable, setSizeprotected static final java.awt.Insets TitleInsets
public VTitledPaneBorder()
public VTitledPaneBorder(java.lang.String str)
str - the title string of the pane border.public VTitledPaneBorder(Text text)
text - the title text of the pane border.public VTitledPaneBorder(int width,
int height)
width - the width of the pane border.height - the height of the pane border.public VTitledPaneBorder(int width,
int height,
java.lang.String str)
width - the width of the pane border.height - the height of the pane border.str - the title string of the pane border.public VTitledPaneBorder(int width,
int height,
Text text)
width - the width of the pane border.height - the height of the pane border.text - the title text of the pane border.public VTitledPaneBorder(int width,
int height,
Visualizable visualizable)
width - the width of the pane border.height - the height of the pane border.visualizable - the title of the pane border.public void setInsets(java.awt.Insets insets)
setInsets クラス内 VPaneBorderinsets - the insets.public Visualizable getTitle()
public void setTitle(Visualizable visualizable)
visualizable - the visual object.public void paint(java.awt.Graphics g,
int x,
int y,
int width,
int height)
paint クラス内 VPaneBorderg - 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.VBorder.paint(java.awt.Graphics, int, int, int, int)public java.lang.Object clone()
clone インタフェース内 Visualizableclone クラス内 VPaneBorder