Package com.formdev.flatlaf.ui
Class FlatScrollPaneUI.FlatScrollPaneLayout
java.lang.Object
javax.swing.ScrollPaneLayout
javax.swing.ScrollPaneLayout.UIResource
com.formdev.flatlaf.ui.FlatScrollPaneUI.FlatScrollPaneLayout
- All Implemented Interfaces:
LayoutManager
,Serializable
,UIResource
,ScrollPaneConstants
- Enclosing class:
FlatScrollPaneUI
- Since:
- 3.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.ScrollPaneLayout
ScrollPaneLayout.UIResource
-
Field Summary
Fields inherited from class javax.swing.ScrollPaneLayout
colHead, hsb, hsbPolicy, lowerLeft, lowerRight, rowHead, upperLeft, upperRight, viewport, vsb, vsbPolicy
Fields inherited from interface javax.swing.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 TypeMethodDescription(package private) boolean
canIncreaseViewportWidth
(JScrollPane scrollPane) private static boolean
isCornerVisible
(Component corner) void
layoutContainer
(Container parent) private static void
resizeViewport
(Component c, int extraWidth, boolean ltr) Methods inherited from class javax.swing.ScrollPaneLayout
addLayoutComponent, addSingletonComponent, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorderBounds, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setHorizontalScrollBarPolicy, setVerticalScrollBarPolicy, syncWithScrollPane
-
Constructor Details
-
FlatScrollPaneLayout
protected FlatScrollPaneLayout()
-
-
Method Details
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
- Overrides:
layoutContainer
in classScrollPaneLayout
-
canIncreaseViewportWidth
-
isCornerVisible
-
resizeViewport
-