ucar.unidata.ui
Class FineLineBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.BevelBorder
          extended by ucar.unidata.ui.FineLineBorder
All Implemented Interfaces:
Serializable, Border

public class FineLineBorder
extends BevelBorder

This overrides the BevelBorder paint methods to paint a single pixel lowered or raised border

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
 
Constructor Summary
FineLineBorder(int type)
          _more_
 
Method Summary
protected  void paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
          _more_
protected  void paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
          _more_
 
Methods inherited from class javax.swing.border.BevelBorder
getBevelType, getBorderInsets, getBorderInsets, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorder
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FineLineBorder

public FineLineBorder(int type)
_more_

Parameters:
type -
Method Detail

paintRaisedBevel

protected void paintRaisedBevel(Component c,
                                Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
_more_

Overrides:
paintRaisedBevel in class BevelBorder
Parameters:
c -
g -
x -
y -
width -
height -

paintLoweredBevel

protected void paintLoweredBevel(Component c,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int width,
                                 int height)
_more_

Overrides:
paintLoweredBevel in class BevelBorder
Parameters:
c -
g -
x -
y -
width -
height -