All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.graphics.V3DBorder

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

public class V3DBorder
extends VBorder
The V3DBorder class implements a 3-D highlighted border. The 3-D border has a raised state. The 3-D border creates different visual presentations according to the raised state.

Version:
02 May 1998
Author:
Kazuki YASUMATSU

Constructor Index

 o V3DBorder()
Constructs a raised 3-D border.
 o V3DBorder(boolean)
Constructs a 3-D border with and the boolean that determines the 3-D border to be raised or sunk.
 o V3DBorder(int, int)
Constructs a raised 3-D border with the specified width and height.
 o V3DBorder(int, int, boolean)
Constructs a 3-D border with the specified width and height, and the boolean that determines the 3-D border to be raised or sunk.

Method Index

 o clone()
Returns a clone of this pane border.
 o getInsets()
Returns the insets of this 3-D border.
 o isRaised()
Checks whether this 3-D border appears to be raised or sunk.
 o paint(Graphics, int, int, int, int)
Paints the 3-D border at the specified location, with the specified dimension.
 o setRaised(boolean)
Sets this 3-D border to be raised or sunk.

Constructors

 o V3DBorder
 public V3DBorder()
Constructs a raised 3-D border.

 o V3DBorder
 public V3DBorder(boolean raised)
Constructs a 3-D border with and the boolean that determines the 3-D border to be raised or sunk.

Parameters:
raised - if true, the 3-D border is raised; otherwise, sunk.
 o V3DBorder
 public V3DBorder(int width,
                  int height)
Constructs a raised 3-D border with the specified width and height.

Parameters:
width - the width of the 3-D border.
height - the height of the 3-D border.
 o V3DBorder
 public V3DBorder(int width,
                  int height,
                  boolean raised)
Constructs a 3-D border with the specified width and height, and the boolean that determines the 3-D border to be raised or sunk.

Parameters:
width - the width of the 3-D border.
height - the height of the 3-D border.
raised - if true, the 3-D border is raised; otherwise, sunk.

Methods

 o getInsets
 public Insets getInsets()
Returns the insets of this 3-D border.

Overrides:
getInsets in class VBorder
See Also:
getInsets
 o isRaised
 public boolean isRaised()
Checks whether this 3-D border appears to be raised or sunk.

Returns:
true if this 3-D border appears to be raised; false otherwise (to be sunk).
 o setRaised
 public void setRaised(boolean raised)
Sets this 3-D border to be raised or sunk.

Parameters:
raised - if true, this 3-D border is raised; otherwise, sunk.
 o paint
 public void paint(Graphics g,
                   int x,
                   int y,
                   int width,
                   int height)
Paints the 3-D border at the specified location, with the specified dimension.

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

Overrides:
clone in class VObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index