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.


Variable Index

 o bezelType
 o highlightInner
 o highlightOuter
 o LOWERED
Lowered bezel type.
 o RAISED
Raised bezel type.
 o shadowInner
 o shadowOuter

Constructor Index

 o BezelBorder(int)
 o BezelBorder(int, Color, Color)
 o BezelBorder(int, Color, Color, Color, Color)

Method Index

 o getBezelType()
 o getBorderInsets()
This default implementation returns new Insets(0, 0, 0, 0).
 o getHighlightInnerColor()
 o getHighlightOuterColor()
 o getShadowInnerColor()
 o getShadowOuterColor()
 o isBorderOpaque()
This default implementation returns false.
 o paintBorder(Graphics, int, int, int, int)
This default implementation does no painting.
 o paintLoweredBezel(Graphics, int, int, int, int)
 o paintRaisedBezel(Graphics, int, int, int, int)

Variables

 o RAISED
 public static final int RAISED
Raised bezel type.

 o LOWERED
 public static final int LOWERED
Lowered bezel type.

 o bezelType
 protected int bezelType
 o highlightOuter
 protected Color highlightOuter
 o highlightInner
 protected Color highlightInner
 o shadowInner
 protected Color shadowInner
 o shadowOuter
 protected Color shadowOuter

Constructors

 o BezelBorder
 public BezelBorder(int type)
 o BezelBorder
 public BezelBorder(int type,
                    Color highlight,
                    Color shadow)
 o BezelBorder
 public BezelBorder(int type,
                    Color highlightOuter,
                    Color highlightInner,
                    Color shadowOuter,
                    Color shadowInner)

Methods

 o 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
 o getBorderInsets
 public Insets getBorderInsets()
This default implementation returns new Insets(0, 0, 0, 0).

Overrides:
getBorderInsets in class DefaultBorder
 o getHighlightOuterColor
 public Color getHighlightOuterColor()
 o getHighlightInnerColor
 public Color getHighlightInnerColor()
 o getShadowInnerColor
 public Color getShadowInnerColor()
 o getShadowOuterColor
 public Color getShadowOuterColor()
 o getBezelType
 public int getBezelType()
 o isBorderOpaque
 public boolean isBorderOpaque()
This default implementation returns false.

Overrides:
isBorderOpaque in class DefaultBorder
 o paintRaisedBezel
 protected void paintRaisedBezel(Graphics g,
                                 int x,
                                 int y,
                                 int width,
                                 int height)
 o paintLoweredBezel
 protected void paintLoweredBezel(Graphics g,
                                  int x,
                                  int y,
                                  int width,
                                  int height)

All Packages  Class Hierarchy  This Package  Previous  Next  Index