protected static class SubstanceScrollPaneUI.AdjustedLayout
extends javax.swing.ScrollPaneLayout
implements javax.swing.plaf.UIResource
SubstanceScrollPaneBorder) border is set on the
relevant JScrollPane.| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.ScrollPaneLayout |
delegate
The delegate layout.
|
colHead, 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 |
|---|
SubstanceScrollPaneUI.AdjustedLayout(javax.swing.ScrollPaneLayout delegate)
Creates a new layout for adjusting the bounds of scrollbars and the
viewport.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(java.lang.String s,
java.awt.Component c) |
boolean |
equals(java.lang.Object obj) |
javax.swing.JViewport |
getColumnHeader() |
java.awt.Component |
getCorner(java.lang.String key) |
javax.swing.JScrollBar |
getHorizontalScrollBar() |
int |
getHorizontalScrollBarPolicy() |
javax.swing.JViewport |
getRowHeader() |
javax.swing.JScrollBar |
getVerticalScrollBar() |
int |
getVerticalScrollBarPolicy() |
javax.swing.JViewport |
getViewport() |
java.awt.Rectangle |
getViewportBorderBounds(javax.swing.JScrollPane scrollpane) |
int |
hashCode() |
void |
layoutContainer(java.awt.Container parent) |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent) |
void |
removeLayoutComponent(java.awt.Component c) |
void |
setHorizontalScrollBarPolicy(int x) |
void |
setVerticalScrollBarPolicy(int x) |
void |
syncWithScrollPane(javax.swing.JScrollPane sp) |
java.lang.String |
toString() |
public SubstanceScrollPaneUI.AdjustedLayout(javax.swing.ScrollPaneLayout delegate)
delegate - The original (delegate) layout.public void addLayoutComponent(java.lang.String s,
java.awt.Component c)
addLayoutComponent in interface java.awt.LayoutManageraddLayoutComponent in class javax.swing.ScrollPaneLayoutpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic javax.swing.JViewport getColumnHeader()
getColumnHeader in class javax.swing.ScrollPaneLayoutpublic java.awt.Component getCorner(java.lang.String key)
getCorner in class javax.swing.ScrollPaneLayoutpublic javax.swing.JScrollBar getHorizontalScrollBar()
getHorizontalScrollBar in class javax.swing.ScrollPaneLayoutpublic int getHorizontalScrollBarPolicy()
getHorizontalScrollBarPolicy in class javax.swing.ScrollPaneLayoutpublic javax.swing.JViewport getRowHeader()
getRowHeader in class javax.swing.ScrollPaneLayoutpublic javax.swing.JScrollBar getVerticalScrollBar()
getVerticalScrollBar in class javax.swing.ScrollPaneLayoutpublic int getVerticalScrollBarPolicy()
getVerticalScrollBarPolicy in class javax.swing.ScrollPaneLayoutpublic javax.swing.JViewport getViewport()
getViewport in class javax.swing.ScrollPaneLayoutpublic java.awt.Rectangle getViewportBorderBounds(javax.swing.JScrollPane scrollpane)
getViewportBorderBounds in class javax.swing.ScrollPaneLayoutpublic int hashCode()
hashCode in class java.lang.Objectpublic java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize in interface java.awt.LayoutManagerminimumLayoutSize in class javax.swing.ScrollPaneLayoutpublic java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize in interface java.awt.LayoutManagerpreferredLayoutSize in class javax.swing.ScrollPaneLayoutpublic void removeLayoutComponent(java.awt.Component c)
removeLayoutComponent in interface java.awt.LayoutManagerremoveLayoutComponent in class javax.swing.ScrollPaneLayoutpublic void setHorizontalScrollBarPolicy(int x)
setHorizontalScrollBarPolicy in class javax.swing.ScrollPaneLayoutpublic void setVerticalScrollBarPolicy(int x)
setVerticalScrollBarPolicy in class javax.swing.ScrollPaneLayoutpublic void syncWithScrollPane(javax.swing.JScrollPane sp)
syncWithScrollPane in class javax.swing.ScrollPaneLayoutpublic java.lang.String toString()
toString in class java.lang.Objectpublic void layoutContainer(java.awt.Container parent)
layoutContainer in interface java.awt.LayoutManagerlayoutContainer in class javax.swing.ScrollPaneLayout