All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.border.BezelBorder
java.lang.Object
|
+----com.sun.java.swing.border.DefaultBorder
|
+----com.sun.java.swing.border.BezelBorder
- public class BezelBorder
- extends DefaultBorder
Object capable of rendering a simple 2 line bezel.
-
bezelType
-
-
highlightInner
-
-
highlightOuter
-
-
LOWERED
- Lowered bezel type.
-
RAISED
- Raised bezel type.
-
shadowInner
-
-
shadowOuter
-
-
BezelBorder(int)
-
-
BezelBorder(int, Color, Color)
-
-
BezelBorder(int, Color, Color, Color, Color)
-
-
getBezelType()
-
-
getBorderInsets()
- This default implementation returns new Insets(0, 0, 0, 0).
-
getHighlightInnerColor()
-
-
getHighlightOuterColor()
-
-
getShadowInnerColor()
-
-
getShadowOuterColor()
-
-
isBorderOpaque()
- This default implementation returns false.
-
paintBorder(Graphics, int, int, int, int)
- This default implementation does no painting.
-
paintLoweredBezel(Graphics, int, int, int, int)
-
-
paintRaisedBezel(Graphics, int, int, int, int)
-
RAISED
public static final int RAISED
- Raised bezel type.
LOWERED
public static final int LOWERED
- Lowered bezel type.
bezelType
protected int bezelType
highlightOuter
protected Color highlightOuter
highlightInner
protected Color highlightInner
shadowInner
protected Color shadowInner
shadowOuter
protected Color shadowOuter
BezelBorder
public BezelBorder(int type)
BezelBorder
public BezelBorder(int type,
Color highlight,
Color shadow)
BezelBorder
public BezelBorder(int type,
Color highlightOuter,
Color highlightInner,
Color shadowOuter,
Color shadowInner)
paintBorder
public void paintBorder(Graphics g,
int x,
int y,
int width,
int height)
- This default implementation does no painting.
- Overrides:
- paintBorder in class DefaultBorder
getBorderInsets
public Insets getBorderInsets()
- This default implementation returns new Insets(0, 0, 0, 0).
- Overrides:
- getBorderInsets in class DefaultBorder
getHighlightOuterColor
public Color getHighlightOuterColor()
getHighlightInnerColor
public Color getHighlightInnerColor()
getShadowInnerColor
public Color getShadowInnerColor()
getShadowOuterColor
public Color getShadowOuterColor()
getBezelType
public int getBezelType()
isBorderOpaque
public boolean isBorderOpaque()
- This default implementation returns false.
- Overrides:
- isBorderOpaque in class DefaultBorder
paintRaisedBezel
protected void paintRaisedBezel(Graphics g,
int x,
int y,
int width,
int height)
paintLoweredBezel
protected void paintLoweredBezel(Graphics g,
int x,
int y,
int width,
int height)
All Packages Class Hierarchy This Package Previous Next Index