Package com.jgoodies.looks.plastic
Class PlasticXPBorders.XPScrollPaneBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder
com.jgoodies.looks.plastic.PlasticXPBorders.XPScrollPaneBorder
- All Implemented Interfaces:
Serializable,Border,UIResource
- Enclosing class:
- PlasticXPBorders
private static final class PlasticXPBorders.XPScrollPaneBorder
extends MetalBorders.ScrollPaneBorder
Unlike Metal we paint a simple rectangle.
Being a subclass of MetalBorders.ScrollPaneBorder ensures that
the ScrollPaneUI will update the ScrollbarsFreeStanding property.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBorderInsets(Component c, Insets newInsets) voidpaintBorder(Component c, Graphics g, int x, int y, int w, int h) Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
INSETS
-
-
Constructor Details
-
XPScrollPaneBorder
private XPScrollPaneBorder()
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classMetalBorders.ScrollPaneBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder- Overrides:
getBorderInsetsin classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classMetalBorders.ScrollPaneBorder
-