javax.swing
Interface ScrollPaneConstants

All Known Implementing Classes:
BasicScrollPaneUI sample code for javax.swing.plaf.basic.BasicScrollPaneUI definition code for javax.swing.plaf.basic.BasicScrollPaneUI , JScrollPane sample code for javax.swing.JScrollPane definition code for javax.swing.JScrollPane , MetalScrollPaneUI sample code for javax.swing.plaf.metal.MetalScrollPaneUI definition code for javax.swing.plaf.metal.MetalScrollPaneUI , ScrollPaneLayout sample code for javax.swing.ScrollPaneLayout definition code for javax.swing.ScrollPaneLayout , ScrollPaneLayout.UIResource sample code for javax.swing.ScrollPaneLayout.UIResource definition code for javax.swing.ScrollPaneLayout.UIResource

public interface ScrollPaneConstants

Constants used with the JScrollPane component.


Field Summary
static String sample code for java.lang.String definition code for java.lang.String COLUMN_HEADER sample code for javax.swing.ScrollPaneConstants.COLUMN_HEADER definition code for javax.swing.ScrollPaneConstants.COLUMN_HEADER
          Identifies the area at the top the viewport between the upper left corner and the upper right corner.
static String sample code for java.lang.String definition code for java.lang.String HORIZONTAL_SCROLLBAR sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR definition code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR
          Identifies a horizonal scrollbar.
static int HORIZONTAL_SCROLLBAR_ALWAYS sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS definition code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS
          Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.
static int HORIZONTAL_SCROLLBAR_AS_NEEDED sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED definition code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED
          Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.
static int HORIZONTAL_SCROLLBAR_NEVER sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER definition code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER
          Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
static String sample code for java.lang.String definition code for java.lang.String HORIZONTAL_SCROLLBAR_POLICY sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_POLICY definition code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_POLICY
          Identifies the horizontal scroll bar policy property.
static String sample code for java.lang.String definition code for java.lang.String LOWER_LEADING_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_LEADING_CORNER definition code for javax.swing.ScrollPaneConstants.LOWER_LEADING_CORNER
          Identifies the lower leading edge corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String LOWER_LEFT_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_LEFT_CORNER definition code for javax.swing.ScrollPaneConstants.LOWER_LEFT_CORNER
          Identifies the lower left corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String LOWER_RIGHT_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_RIGHT_CORNER definition code for javax.swing.ScrollPaneConstants.LOWER_RIGHT_CORNER
          Identifies the lower right corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String LOWER_TRAILING_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_TRAILING_CORNER definition code for javax.swing.ScrollPaneConstants.LOWER_TRAILING_CORNER
          Identifies the lower trailing edge corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String ROW_HEADER sample code for javax.swing.ScrollPaneConstants.ROW_HEADER definition code for javax.swing.ScrollPaneConstants.ROW_HEADER
          Identifies the area along the left side of the viewport between the upper left corner and the lower left corner.
static String sample code for java.lang.String definition code for java.lang.String UPPER_LEADING_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_LEADING_CORNER definition code for javax.swing.ScrollPaneConstants.UPPER_LEADING_CORNER
          Identifies the upper leading edge corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String UPPER_LEFT_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_LEFT_CORNER definition code for javax.swing.ScrollPaneConstants.UPPER_LEFT_CORNER
          Identifies the upper left corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String UPPER_RIGHT_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_RIGHT_CORNER definition code for javax.swing.ScrollPaneConstants.UPPER_RIGHT_CORNER
          Identifies the upper right corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String UPPER_TRAILING_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_TRAILING_CORNER definition code for javax.swing.ScrollPaneConstants.UPPER_TRAILING_CORNER
          Identifies the upper trailing edge corner of the viewport.
static String sample code for java.lang.String definition code for java.lang.String VERTICAL_SCROLLBAR sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR definition code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR
          Identifies a vertical scrollbar.
static int VERTICAL_SCROLLBAR_ALWAYS sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS definition code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS
          Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.
static int VERTICAL_SCROLLBAR_AS_NEEDED sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED definition code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED
          Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.
static int VERTICAL_SCROLLBAR_NEVER sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER definition code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER
          Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.
static String sample code for java.lang.String definition code for java.lang.String VERTICAL_SCROLLBAR_POLICY sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_POLICY definition code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_POLICY
          Identifies the vertical scroll bar policy property.
static String sample code for java.lang.String definition code for java.lang.String VIEWPORT sample code for javax.swing.ScrollPaneConstants.VIEWPORT definition code for javax.swing.ScrollPaneConstants.VIEWPORT
          Identifies a "viewport" or display area, within which scrolled contents are visible.
 

Field Detail

VIEWPORT sample code for javax.swing.ScrollPaneConstants.VIEWPORT

static final String sample code for java.lang.String definition code for java.lang.String  VIEWPORT
Identifies a "viewport" or display area, within which scrolled contents are visible.

See Also:
Constant Field Values

VERTICAL_SCROLLBAR sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR

static final String sample code for java.lang.String definition code for java.lang.String  VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR

static final String sample code for java.lang.String definition code for java.lang.String  HORIZONTAL_SCROLLBAR
Identifies a horizonal scrollbar.

See Also:
Constant Field Values

ROW_HEADER sample code for javax.swing.ScrollPaneConstants.ROW_HEADER

static final String sample code for java.lang.String definition code for java.lang.String  ROW_HEADER
Identifies the area along the left side of the viewport between the upper left corner and the lower left corner.

See Also:
Constant Field Values

COLUMN_HEADER sample code for javax.swing.ScrollPaneConstants.COLUMN_HEADER

static final String sample code for java.lang.String definition code for java.lang.String  COLUMN_HEADER
Identifies the area at the top the viewport between the upper left corner and the upper right corner.

See Also:
Constant Field Values

LOWER_LEFT_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_LEFT_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  LOWER_LEFT_CORNER
Identifies the lower left corner of the viewport.

See Also:
Constant Field Values

LOWER_RIGHT_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_RIGHT_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport.

See Also:
Constant Field Values

UPPER_LEFT_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_LEFT_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport.

See Also:
Constant Field Values

UPPER_RIGHT_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_RIGHT_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport.

See Also:
Constant Field Values

LOWER_LEADING_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_LEADING_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  LOWER_LEADING_CORNER
Identifies the lower leading edge corner of the viewport. The leading edge is determined relative to the Scroll Pane's ComponentOrientation property.

See Also:
Constant Field Values

LOWER_TRAILING_CORNER sample code for javax.swing.ScrollPaneConstants.LOWER_TRAILING_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  LOWER_TRAILING_CORNER
Identifies the lower trailing edge corner of the viewport. The trailing edge is determined relative to the Scroll Pane's ComponentOrientation property.

See Also:
Constant Field Values

UPPER_LEADING_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_LEADING_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  UPPER_LEADING_CORNER
Identifies the upper leading edge corner of the viewport. The leading edge is determined relative to the Scroll Pane's ComponentOrientation property.

See Also:
Constant Field Values

UPPER_TRAILING_CORNER sample code for javax.swing.ScrollPaneConstants.UPPER_TRAILING_CORNER

static final String sample code for java.lang.String definition code for java.lang.String  UPPER_TRAILING_CORNER
Identifies the upper trailing edge corner of the viewport. The trailing edge is determined relative to the Scroll Pane's ComponentOrientation property.

See Also:
Constant Field Values

VERTICAL_SCROLLBAR_POLICY sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_POLICY

static final String sample code for java.lang.String definition code for java.lang.String  VERTICAL_SCROLLBAR_POLICY
Identifies the vertical scroll bar policy property.

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR_POLICY sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_POLICY

static final String sample code for java.lang.String definition code for java.lang.String  HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property.

See Also:
Constant Field Values

VERTICAL_SCROLLBAR_AS_NEEDED sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED

static final int VERTICAL_SCROLLBAR_AS_NEEDED
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.

See Also:
Constant Field Values

VERTICAL_SCROLLBAR_NEVER sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER

static final int VERTICAL_SCROLLBAR_NEVER
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.

See Also:
Constant Field Values

VERTICAL_SCROLLBAR_ALWAYS sample code for javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS

static final int VERTICAL_SCROLLBAR_ALWAYS
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR_AS_NEEDED sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED

static final int HORIZONTAL_SCROLLBAR_AS_NEEDED
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR_NEVER sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER

static final int HORIZONTAL_SCROLLBAR_NEVER
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR_ALWAYS sample code for javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS

static final int HORIZONTAL_SCROLLBAR_ALWAYS
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.

See Also:
Constant Field Values