Package ucar.unidata.ui
Class FineLineBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.BevelBorder
ucar.unidata.ui.FineLineBorder
- All Implemented Interfaces:
Serializable
,Border
This overrides the BevelBorder paint methods to paint a single pixel
lowered or raised border
- See Also:
-
Field Summary
Fields inherited from class javax.swing.border.BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorder
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
FineLineBorder
public FineLineBorder(int type) _more_- Parameters:
type
-
-
-
Method Details
-
paintRaisedBevel
_more_- Overrides:
paintRaisedBevel
in classBevelBorder
- Parameters:
c
-g
-x
-y
-width
-height
-
-
paintLoweredBevel
_more_- Overrides:
paintLoweredBevel
in classBevelBorder
- Parameters:
c
-g
-x
-y
-width
-height
-
-