- 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
Fields Modifier and Type Field Description static StringCOLUMN_HEADERIdentifies the area at the top the viewport between the upper left corner and the upper right corner.static StringHORIZONTAL_SCROLLBARIdentifies a horizontal scrollbar.static intHORIZONTAL_SCROLLBAR_ALWAYSUsed to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.static intHORIZONTAL_SCROLLBAR_AS_NEEDEDUsed to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.static intHORIZONTAL_SCROLLBAR_NEVERUsed to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.static StringHORIZONTAL_SCROLLBAR_POLICYIdentifies the horizontal scroll bar policy property.static StringLOWER_LEADING_CORNERIdentifies the lower leading edge corner of the viewport.static StringLOWER_LEFT_CORNERIdentifies the lower left corner of the viewport.static StringLOWER_RIGHT_CORNERIdentifies the lower right corner of the viewport.static StringLOWER_TRAILING_CORNERIdentifies the lower trailing edge corner of the viewport.static StringROW_HEADERIdentifies the area along the left side of the viewport between the upper left corner and the lower left corner.static StringUPPER_LEADING_CORNERIdentifies the upper leading edge corner of the viewport.static StringUPPER_LEFT_CORNERIdentifies the upper left corner of the viewport.static StringUPPER_RIGHT_CORNERIdentifies the upper right corner of the viewport.static StringUPPER_TRAILING_CORNERIdentifies the upper trailing edge corner of the viewport.static StringVERTICAL_SCROLLBARIdentifies a vertical scrollbar.static intVERTICAL_SCROLLBAR_ALWAYSUsed to set the vertical scroll bar policy so that vertical scrollbars are always displayed.static intVERTICAL_SCROLLBAR_AS_NEEDEDUsed to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.static intVERTICAL_SCROLLBAR_NEVERUsed to set the vertical scroll bar policy so that vertical scrollbars are never displayed.static StringVERTICAL_SCROLLBAR_POLICYIdentifies the vertical scroll bar policy property.static StringVIEWPORTIdentifies a "viewport" or display area, within which scrolled contents are visible.
-
Field Details
-
VIEWPORT
Identifies a "viewport" or display area, within which scrolled contents are visible.- See Also:
- Constant Field Values
-
VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.- See Also:
- Constant Field Values
-
HORIZONTAL_SCROLLBAR
Identifies a horizontal scrollbar.- See Also:
- Constant Field Values
-
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
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
Identifies the lower left corner of the viewport.- See Also:
- Constant Field Values
-
LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport.- See Also:
- Constant Field Values
-
UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport.- See Also:
- Constant Field Values
-
UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport.- See Also:
- Constant Field Values
-
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
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
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
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
Identifies the vertical scroll bar policy property.- See Also:
- Constant Field Values
-
HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property.- See Also:
- Constant Field Values
-
VERTICAL_SCROLLBAR_AS_NEEDED
static final int VERTICAL_SCROLLBAR_AS_NEEDEDUsed to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.- See Also:
- Constant Field Values
-
VERTICAL_SCROLLBAR_NEVER
static final int VERTICAL_SCROLLBAR_NEVERUsed to set the vertical scroll bar policy so that vertical scrollbars are never displayed.- See Also:
- Constant Field Values
-
VERTICAL_SCROLLBAR_ALWAYS
static final int VERTICAL_SCROLLBAR_ALWAYSUsed to set the vertical scroll bar policy so that vertical scrollbars are always displayed.- See Also:
- Constant Field Values
-
HORIZONTAL_SCROLLBAR_AS_NEEDED
static final int HORIZONTAL_SCROLLBAR_AS_NEEDEDUsed to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.- See Also:
- Constant Field Values
-
HORIZONTAL_SCROLLBAR_NEVER
static final int HORIZONTAL_SCROLLBAR_NEVERUsed to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.- See Also:
- Constant Field Values
-
HORIZONTAL_SCROLLBAR_ALWAYS
static final int HORIZONTAL_SCROLLBAR_ALWAYSUsed to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.- See Also:
- Constant Field Values
-