Class TweakedScrollPaneLayout
java.lang.Object
javax.swing.ScrollPaneLayout
org.pushingpixels.radiance.theming.internal.widget.scroll.TweakedScrollPaneLayout
- All Implemented Interfaces:
LayoutManager, Serializable, ScrollPaneConstants
A hideous hack to allow the display of the selector's button even when only
one scrollBar is visible.
Contributed by the original author under BSD license. Also appears in the JDNC Incubator.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ScrollPaneLayout
ScrollPaneLayout.UIResource -
Field Summary
Fields inherited from class ScrollPaneLayout
colHead, hsb, hsbPolicy, lowerLeft, lowerRight, rowHead, upperLeft, upperRight, viewport, vsb, vsbPolicyFields inherited from interface ScrollPaneConstants
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidadjustForHSB(boolean wantsHSB, Rectangle available, Rectangle hsbR, Insets vpbInsets) private voidadjustForVSB(boolean wantsVSB, Rectangle available, Rectangle vsbR, Insets vpbInsets, boolean leftToRight) voidlayoutContainer(Container parent) private voidsuperlayoutContainer(Container parent) Methods inherited from class ScrollPaneLayout
addLayoutComponent, addSingletonComponent, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorderBounds, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setHorizontalScrollBarPolicy, setVerticalScrollBarPolicy, syncWithScrollPane
-
Constructor Details
-
TweakedScrollPaneLayout
public TweakedScrollPaneLayout()
-
-
Method Details
-
superlayoutContainer
-
adjustForVSB
-
adjustForHSB
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager- Overrides:
layoutContainerin classScrollPaneLayout
-