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
-
V3DButtonBorder()
- Constructs a raised border with the trigger style.
-
V3DButtonBorder(boolean)
- Constructs a border with the trigger style, and the specified
boolean that determines the border to be raised or sunk.
-
V3DButtonBorder(boolean, int)
- Constructs a border with the specified boolean that determines
the border to be raised or sunk, and the specified style.
-
V3DButtonBorder(boolean, int, boolean)
- Constructs a border with the specified boolean that determines
the border to be raised or sunk, and the specified style.
-
V3DButtonBorder(int)
- Constructs a raised border with the specified style.
-
V3DButtonBorder(int, int)
- Constructs a raised border with the trigger style, and the
specified width and height.
-
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,
-
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.
-
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.
-
V3DButtonBorder(int, int, int)
- Constructs a raised border with the specified width and height,
and the specified style.
-
clone()
- Returns a clone of this pane border.
-
getInsets()
- Returns the insets of this 3-D border.
-
getStyle()
- Returns the style of the border.
-
setStyle(int)
- Sets the style of the border to the specified style.
V3DButtonBorder
public V3DButtonBorder()
- Constructs a raised border with the trigger style.
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.
V3DButtonBorder
public V3DButtonBorder(int style)
- Constructs a raised border with the specified style.
- Parameters:
- style - the style of the border.
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.
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.
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.
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.
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.
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.
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.
getInsets
public Insets getInsets()
- Returns the insets of this 3-D border.
- Overrides:
- getInsets in class V3DBorder
- See Also:
- getInsets
getStyle
public int getStyle()
- Returns the style of the border.
- Returns:
- the style of the border.
- See Also:
- TRIGGER, TOGGLE
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
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