public interface

ScrollPaneConstants

javax.swing.ScrollPaneConstants
Known Indirect Subclasses

Class Overview

Constants used with the JScrollPane component.

Summary

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

Constants

public static final String COLUMN_HEADER

Identifies the area at the top the viewport between the upper left corner and the upper right corner.

Constant Value: "COLUMN_HEADER"

public static final String HORIZONTAL_SCROLLBAR

Identifies a horizonal scrollbar.

Constant Value: "HORIZONTAL_SCROLLBAR"

public static final int HORIZONTAL_SCROLLBAR_ALWAYS

Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.

Constant Value: 32 (0x00000020)

public static final int HORIZONTAL_SCROLLBAR_AS_NEEDED

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

Constant Value: 30 (0x0000001e)

public static final int HORIZONTAL_SCROLLBAR_NEVER

Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.

Constant Value: 31 (0x0000001f)

public static final String HORIZONTAL_SCROLLBAR_POLICY

Identifies the horizontal scroll bar policy property.

Constant Value: "HORIZONTAL_SCROLLBAR_POLICY"

public 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.

Constant Value: "LOWER_LEADING_CORNER"

public static final String LOWER_LEFT_CORNER

Identifies the lower left corner of the viewport.

Constant Value: "LOWER_LEFT_CORNER"

public static final String LOWER_RIGHT_CORNER

Identifies the lower right corner of the viewport.

Constant Value: "LOWER_RIGHT_CORNER"

public 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.

Constant Value: "LOWER_TRAILING_CORNER"

public 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.

Constant Value: "ROW_HEADER"

public 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.

Constant Value: "UPPER_LEADING_CORNER"

public static final String UPPER_LEFT_CORNER

Identifies the upper left corner of the viewport.

Constant Value: "UPPER_LEFT_CORNER"

public static final String UPPER_RIGHT_CORNER

Identifies the upper right corner of the viewport.

Constant Value: "UPPER_RIGHT_CORNER"

public 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.

Constant Value: "UPPER_TRAILING_CORNER"

public static final String VERTICAL_SCROLLBAR

Identifies a vertical scrollbar.

Constant Value: "VERTICAL_SCROLLBAR"

public static final int VERTICAL_SCROLLBAR_ALWAYS

Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.

Constant Value: 22 (0x00000016)

public static final int VERTICAL_SCROLLBAR_AS_NEEDED

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

Constant Value: 20 (0x00000014)

public static final int VERTICAL_SCROLLBAR_NEVER

Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.

Constant Value: 21 (0x00000015)

public static final String VERTICAL_SCROLLBAR_POLICY

Identifies the vertical scroll bar policy property.

Constant Value: "VERTICAL_SCROLLBAR_POLICY"

public static final String VIEWPORT

Identifies a "viewport" or display area, within which scrolled contents are visible.

Constant Value: "VIEWPORT"