W3cubDocs

/OpenJDK 21

Interface ScrollPaneConstants

All Known Implementing Classes:
BasicScrollPaneUI, JScrollPane, MetalScrollPaneUI, ScrollPaneLayout, ScrollPaneLayout.UIResource, SynthScrollPaneUI
public interface ScrollPaneConstants
Constants used with the JScrollPane component.
Since:
1.2

Field Summary

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

Field Details

VIEWPORT

static final String VIEWPORT
Identifies a "viewport" or display area, within which scrolled contents are visible.
See Also:

VERTICAL_SCROLLBAR

static final String VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.
See Also:

HORIZONTAL_SCROLLBAR

static final String HORIZONTAL_SCROLLBAR
Identifies a horizontal scrollbar.
See Also:

ROW_HEADER

static final 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:

COLUMN_HEADER

static final String COLUMN_HEADER
Identifies the area at the top the viewport between the upper left corner and the upper right corner.
See Also:

LOWER_LEFT_CORNER

static final String LOWER_LEFT_CORNER
Identifies the lower left corner of the viewport.
See Also:

LOWER_RIGHT_CORNER

static final String LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport.
See Also:

UPPER_LEFT_CORNER

static final String UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport.
See Also:

UPPER_RIGHT_CORNER

static final String UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport.
See Also:

LOWER_LEADING_CORNER

static final 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:

LOWER_TRAILING_CORNER

static final 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:

UPPER_LEADING_CORNER

static final 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:

UPPER_TRAILING_CORNER

static final 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:

VERTICAL_SCROLLBAR_POLICY

static final String VERTICAL_SCROLLBAR_POLICY
Identifies the vertical scroll bar policy property.
See Also:

HORIZONTAL_SCROLLBAR_POLICY

static final String HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property.
See Also:

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:

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:

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:

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:

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:

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:

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/ScrollPaneConstants.html