public class ScrollPaneFactory
extends java.lang.Object
implements 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
Modifier and Type | Method and Description |
---|---|
static javax.swing.JScrollPane |
createScrollPane() |
static javax.swing.JScrollPane |
createScrollPane(java.awt.Component view) |
static javax.swing.JScrollPane |
createScrollPane(java.awt.Component view,
boolean withoutBorder) |
static javax.swing.JScrollPane |
createScrollPane(java.awt.Component view,
int borders)
Creates a
JScrollPane object for the specified view and initializes its border. |
static javax.swing.JScrollPane |
createScrollPane(java.awt.Component view,
int vsbPolicy,
int hsbPolicy) |
static javax.swing.JScrollPane |
createScrollPane(int vsbPolicy,
int hsbPolicy) |
public static javax.swing.JScrollPane createScrollPane()
public static javax.swing.JScrollPane createScrollPane(java.awt.Component view)
public static javax.swing.JScrollPane createScrollPane(int vsbPolicy, int hsbPolicy)
public static javax.swing.JScrollPane createScrollPane(java.awt.Component view, int vsbPolicy, int hsbPolicy)
public static javax.swing.JScrollPane createScrollPane(java.awt.Component view, boolean withoutBorder)
public static javax.swing.JScrollPane createScrollPane(java.awt.Component view, int borders)
JScrollPane
object for the specified view
and initializes its border.view
- the component to display in a JScrollPane
's viewportborders
- the SideBorder
's flags, which define a JScrollPane
's borderJScrollPane
objectIdeBorderFactory.createBorder(int)