LayoutManager, Serializable, UIResource, ScrollPaneConstantsprotected static class SubstanceScrollPaneUI.AdjustedLayout extends ScrollPaneLayout implements UIResource
SubstanceScrollPaneBorder) border is set on the
relevant JScrollPane.ScrollPaneLayout.UIResource| Modifier and Type | Field | Description |
|---|---|---|
protected ScrollPaneLayout |
delegate |
The delegate layout.
|
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, VIEWPORTcolHead, hsb, hsbPolicy, lowerLeft, lowerRight, rowHead, upperLeft, upperRight, viewport, vsb, vsbPolicy| Constructor | Description |
|---|---|
AdjustedLayout(ScrollPaneLayout delegate) |
Creates a new layout for adjusting the bounds of scrollbars and the
viewport.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addLayoutComponent(String s,
Component c) |
|
boolean |
equals(Object obj) |
|
JViewport |
getColumnHeader() |
|
Component |
getCorner(String key) |
|
JScrollBar |
getHorizontalScrollBar() |
|
int |
getHorizontalScrollBarPolicy() |
|
JViewport |
getRowHeader() |
|
JScrollBar |
getVerticalScrollBar() |
|
int |
getVerticalScrollBarPolicy() |
|
JViewport |
getViewport() |
|
Rectangle |
getViewportBorderBounds(JScrollPane scrollpane) |
|
int |
hashCode() |
|
void |
layoutContainer(Container parent) |
|
Dimension |
minimumLayoutSize(Container parent) |
|
Dimension |
preferredLayoutSize(Container parent) |
|
void |
removeLayoutComponent(Component c) |
|
void |
setHorizontalScrollBarPolicy(int x) |
|
void |
setVerticalScrollBarPolicy(int x) |
|
void |
syncWithScrollPane(JScrollPane sp) |
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaddSingletonComponentprotected ScrollPaneLayout delegate
public AdjustedLayout(ScrollPaneLayout delegate)
delegate - The original (delegate) layout.public void addLayoutComponent(String s, Component c)
addLayoutComponent in interface LayoutManageraddLayoutComponent in class ScrollPaneLayoutpublic JViewport getColumnHeader()
getColumnHeader in class ScrollPaneLayoutpublic Component getCorner(String key)
getCorner in class ScrollPaneLayoutpublic JScrollBar getHorizontalScrollBar()
getHorizontalScrollBar in class ScrollPaneLayoutpublic int getHorizontalScrollBarPolicy()
getHorizontalScrollBarPolicy in class ScrollPaneLayoutpublic JViewport getRowHeader()
getRowHeader in class ScrollPaneLayoutpublic JScrollBar getVerticalScrollBar()
getVerticalScrollBar in class ScrollPaneLayoutpublic int getVerticalScrollBarPolicy()
getVerticalScrollBarPolicy in class ScrollPaneLayoutpublic JViewport getViewport()
getViewport in class ScrollPaneLayoutpublic Rectangle getViewportBorderBounds(JScrollPane scrollpane)
getViewportBorderBounds in class ScrollPaneLayoutpublic Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerminimumLayoutSize in class ScrollPaneLayoutpublic Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerpreferredLayoutSize in class ScrollPaneLayoutpublic void removeLayoutComponent(Component c)
removeLayoutComponent in interface LayoutManagerremoveLayoutComponent in class ScrollPaneLayoutpublic void setHorizontalScrollBarPolicy(int x)
setHorizontalScrollBarPolicy in class ScrollPaneLayoutpublic void setVerticalScrollBarPolicy(int x)
setVerticalScrollBarPolicy in class ScrollPaneLayoutpublic void syncWithScrollPane(JScrollPane sp)
syncWithScrollPane in class ScrollPaneLayoutpublic void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerlayoutContainer in class ScrollPaneLayout