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) void
paintBorder
(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:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classMetalBorders.ScrollPaneBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsets
in classMetalBorders.ScrollPaneBorder
-