javax.swing
Class ScrollPaneLayoutjava.lang.Object | +--javax.swing.ScrollPaneLayout
- All Implemented Interfaces:
- LayoutManager, ScrollPaneConstants, Serializable
- Direct Known Subclasses:
- ScrollPaneLayout.UIResource
- public class ScrollPaneLayout
- extends Object
- implements LayoutManager, ScrollPaneConstants, Serializable
The layout manager used by JScrollPane. JScrollPaneLayout is responsible for nine components: a viewport, two scrollbars, a row header, a column header, and four "corner" components.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.
- See Also:
- JScrollPane, JViewport
Nested Class Summary
static class ScrollPaneLayout.UIResource
The UI resource version of ScrollPaneLayout.
Field Summary
protected JViewport colHead
The column header child.protected JScrollBar hsb
The scrollpane's horizontal scrollbar child.protected int hsbPolicy
The display policy for the horizontal scrollbar.protected Component lowerLeft
The component to display in the lower left corner.protected Component lowerRight
The component to display in the lower right corner.protected JViewport rowHead
The row header child.protected Component upperLeft
The component to display in the upper left corner.protected Component upperRight
The component to display in the upper right corner.protected JViewport viewport
The scrollpane's viewport child.protected JScrollBar vsb
The scrollpane's vertical scrollbar child.protected int vsbPolicy
The display policy for the vertical scrollbar.
Fields inherited from interface javax.swing.ScrollPaneConstants COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED,