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
-
V3DBorder()
- Constructs a raised 3-D border.
-
V3DBorder(boolean)
- Constructs a 3-D border with and the boolean that determines
the 3-D border to be raised or sunk.
-
V3DBorder(int, int)
- Constructs a raised 3-D border with the specified width and height.
-
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.
-
clone()
- Returns a clone of this pane border.
-
getInsets()
- Returns the insets of this 3-D border.
-
isRaised()
- Checks whether this 3-D border appears to be raised or sunk.
-
paint(Graphics, int, int, int, int)
- Paints the 3-D border at the specified location,
with the specified dimension.
-
setRaised(boolean)
- Sets this 3-D border to be raised or sunk.
V3DBorder
public V3DBorder()
- Constructs a raised 3-D border.
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.
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.
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.
getInsets
public Insets getInsets()
- Returns the insets of this 3-D border.
- Overrides:
- getInsets in class VBorder
- See Also:
- getInsets
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).
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.
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
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