
public class BorderedScrolPaneLayout extends ScrollPaneLayout
ScrollPaneLayout.UIResourcecolHead, hsb, hsbPolicy, lowerLeft, lowerRight, rowHead, upperLeft, upperRight, viewport, vsb, vsbPolicyCOLUMN_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 and Description |
|---|
BorderedScrolPaneLayout() |
| Modifier and Type | Method and Description |
|---|---|
Dimension |
preferredLayoutSize(Container parent)
The preferred size of a
ScrollPane is the size of the
insets, plus the preferred size of the viewport, plus the preferred size
of the visible headers, plus the preferred size of the scrollbars that
will appear given the current view and the current scrollbar
displayPolicies. |
addLayoutComponent, addSingletonComponent, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorderBounds, layoutContainer, minimumLayoutSize, removeLayoutComponent, setHorizontalScrollBarPolicy, setVerticalScrollBarPolicy, syncWithScrollPanepublic Dimension preferredLayoutSize(Container parent)
ScrollPane is the size of the
insets, plus the preferred size of the viewport, plus the preferred size
of the visible headers, plus the preferred size of the scrollbars that
will appear given the current view and the current scrollbar
displayPolicies.
Note that the rowHeader is calculated as part of the preferred width and the colHeader is calculated as part of the preferred size.
preferredLayoutSize in interface LayoutManagerpreferredLayoutSize in class ScrollPaneLayoutparent - the Container that will be laid outDimension object specifying the preferred size of
the viewport and any scrollbarsViewportLayout,
LayoutManagerCopyright © 2018 universAAL Consortium. All rights reserved.