All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.graphics.V3DButtonBorder

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

public class V3DButtonBorder
extends V3DBorder
The V3DButtonBorder class implements a 3-D highlighted border for the buttons. The border has a style, the trigger style or the toggle style. The border creates different visual presentations according to the style.

Version:
02 May 1998
Author:
Kazuki YASUMATSU
See Also:
VButton, TRIGGER, TOGGLE

Constructor Index

 o V3DButtonBorder()
Constructs a raised border with the trigger style.
 o V3DButtonBorder(boolean)
Constructs a border with the trigger style, and the specified boolean that determines the border to be raised or sunk.
 o V3DButtonBorder(boolean, int)
Constructs a border with the specified boolean that determines the border to be raised or sunk, and the specified style.
 o V3DButtonBorder(boolean, int, boolean)
Constructs a border with the specified boolean that determines the border to be raised or sunk, and the specified style.
 o V3DButtonBorder(int)
Constructs a raised border with the specified style.
 o V3DButtonBorder(int, int)
Constructs a raised border with the trigger style, and the specified width and height.
 o V3DButtonBorder(int, int, boolean)
Constructs a border with the trigger style, the specified width and height, and the specified boolean that determines the border to be raised or sunk,
 o V3DButtonBorder(int, int, boolean, int)
Constructs a border with the specified width and height, the specified boolean that determines the border to be raised or sunk, and the specified style.
 o V3DButtonBorder(int, int, boolean, int, boolean)
Constructs a border with the specified width and height, the specified boolean that determines the border to be raised or sunk, and the specified style.
 o V3DButtonBorder(int, int, int)
Constructs a raised border with the specified width and height, and the specified style.

Method Index

 o clone()
Returns a clone of this pane border.
 o getInsets()
Returns the insets of this 3-D border.
 o getStyle()
Returns the style of the border.
 o setStyle(int)
Sets the style of the border to the specified style.

Constructors

 o V3DButtonBorder
 public V3DButtonBorder()
Constructs a raised border with the trigger style.

 o V3DButtonBorder
 public V3DButtonBorder(boolean raised)
Constructs a border with the trigger style, and the specified boolean that determines the border to be raised or sunk.

Parameters:
raised - if true, the border is raised; otherwise, sunk.
 o V3DButtonBorder
 public V3DButtonBorder(int style)
Constructs a raised border with the specified style.

Parameters:
style - the style of the border.
 o V3DButtonBorder
 public V3DButtonBorder(boolean raised,
                        int style)
Constructs a border with the specified boolean that determines the border to be raised or sunk, and the specified style.

Parameters:
raised - if true, the border is raised; otherwise, sunk.
style - the style of the border.
 o V3DButtonBorder
 public V3DButtonBorder(boolean raised,
                        int style,
                        boolean thin)
Constructs a border with the specified boolean that determines the border to be raised or sunk, and the specified style.

Parameters:
raised - if true, the border is raised; otherwise, sunk.
style - the style of the border.
thin - if true, the border is thin.
 o V3DButtonBorder
 public V3DButtonBorder(int width,
                        int height)
Constructs a raised border with the trigger style, and the specified width and height.

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

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

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

Parameters:
width - the width of the border.
height - the height of the border.
raised - if true, the border is raised; otherwise, sunk.
style - the style of the border.
 o V3DButtonBorder
 public V3DButtonBorder(int width,
                        int height,
                        boolean raised,
                        int style,
                        boolean thin)
Constructs a border with the specified width and height, the specified boolean that determines the border to be raised or sunk, and the specified style.

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

Methods

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

Overrides:
getInsets in class V3DBorder
See Also:
getInsets
 o getStyle
 public int getStyle()
Returns the style of the border.

Returns:
the style of the border.
See Also:
TRIGGER, TOGGLE
 o setStyle
 public void setStyle(int style)
Sets the style of the border to the specified style.

Parameters:
style - the style of the border.
See Also:
TRIGGER, TOGGLE
 o clone
 public Object clone()
Returns a clone of this pane border.

Overrides:
clone in class V3DBorder

All Packages  Class Hierarchy  This Package  Previous  Next  Index