All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.graphics.VTitledPaneBorder

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

public class VTitledPaneBorder
extends VPaneBorder
The VTitledPaneBorder class implements a pane border with a title that is a visual object.

Version:
12 Jun 1998
Author:
Kazuki YASUMATSU

Constructor Index

 o VTitledPaneBorder()
Constructs an empty titled pane border.
 o VTitledPaneBorder(int, int)
Constructs an empty titled pane border with the specified width and height.
 o VTitledPaneBorder(int, int, String)
Constructs a pane border with the specified width and height, and the specified title string.
 o VTitledPaneBorder(int, int, Text)
Constructs a pane border with the specified width and height, and the specified title text.
 o VTitledPaneBorder(int, int, Visualizable)
Constructs a pane border with the specified width and height, and the specified title that is a visual object.
 o VTitledPaneBorder(String)
Constructs a pane border with the specified title string.
 o VTitledPaneBorder(Text)
Constructs a pane border with the specified title text.

Method Index

 o clone()
Returns a clone of this pane border.
 o getTitle()
Returns the title of this pane border.
 o paint(Graphics, int, int, int, int)
Paints the titled pane border at the specified location, with the specified dimension.
 o setInsets(Insets)
Sets the insets of this pane border to be the specified insets.
 o setTitle(Visualizable)
Sets the title of this pane border to be the specified visual object.

Constructors

 o VTitledPaneBorder
 public VTitledPaneBorder()
Constructs an empty titled pane border.

 o VTitledPaneBorder
 public VTitledPaneBorder(String str)
Constructs a pane border with the specified title string.

Parameters:
str - the title string of the pane border.
 o VTitledPaneBorder
 public VTitledPaneBorder(Text text)
Constructs a pane border with the specified title text.

Parameters:
text - the title text of the pane border.
 o VTitledPaneBorder
 public VTitledPaneBorder(int width,
                          int height)
Constructs an empty titled pane border with the specified width and height.

Parameters:
width - the width of the pane border.
height - the height of the pane border.
 o VTitledPaneBorder
 public VTitledPaneBorder(int width,
                          int height,
                          String str)
Constructs a pane border with the specified width and height, and the specified title string.

Parameters:
width - the width of the pane border.
height - the height of the pane border.
str - the title string of the pane border.
 o VTitledPaneBorder
 public VTitledPaneBorder(int width,
                          int height,
                          Text text)
Constructs a pane border with the specified width and height, and the specified title text.

Parameters:
width - the width of the pane border.
height - the height of the pane border.
text - the title text of the pane border.
 o VTitledPaneBorder
 public 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.

Parameters:
width - the width of the pane border.
height - the height of the pane border.
visualizable - the title of the pane border.

Methods

 o setInsets
 public void setInsets(Insets insets)
Sets the insets of this pane border to be the specified insets.

Parameters:
insets - the insets.
Overrides:
setInsets in class VPaneBorder
 o getTitle
 public Visualizable getTitle()
Returns the title of this pane border.

Returns:
the title of this pane border.
 o setTitle
 public void setTitle(Visualizable visualizable)
Sets the title of this pane border to be the specified visual object.

Parameters:
visualizable - the visual object.
 o paint
 public void paint(Graphics g,
                   int x,
                   int y,
                   int width,
                   int height)
Paints the titled pane border at the specified location, with the specified dimension.

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

Overrides:
clone in class VPaneBorder

All Packages  Class Hierarchy  This Package  Previous  Next  Index