- All Known Implementing Classes:
- BasicScrollPaneUI,- JScrollPane,- MetalScrollPaneUI,- ScrollPaneLayout,- ScrollPaneLayout.UIResource,- SynthScrollPaneUI
public interface ScrollPaneConstants
Constants used with the JScrollPane component.
- Since:
- 1.2
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringIdentifies the area at the top the viewport between the upper left corner and the upper right corner.static final StringIdentifies a horizontal scrollbar.static final intUsed to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.static final intUsed to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.static final intUsed to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.static final StringIdentifies the horizontal scroll bar policy property.static final StringIdentifies the lower leading edge corner of the viewport.static final StringIdentifies the lower left corner of the viewport.static final StringIdentifies the lower right corner of the viewport.static final StringIdentifies the lower trailing edge corner of the viewport.static final StringIdentifies the area along the left side of the viewport between the upper left corner and the lower left corner.static final StringIdentifies the upper leading edge corner of the viewport.static final StringIdentifies the upper left corner of the viewport.static final StringIdentifies the upper right corner of the viewport.static final StringIdentifies the upper trailing edge corner of the viewport.static final StringIdentifies a vertical scrollbar.static final intUsed to set the vertical scroll bar policy so that vertical scrollbars are always displayed.static final intUsed to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.static final intUsed to set the vertical scroll bar policy so that vertical scrollbars are never displayed.static final StringIdentifies the vertical scroll bar policy property.static final StringIdentifies a "viewport" or display area, within which scrolled contents are visible.
- 
Field Details- 
VIEWPORTIdentifies a "viewport" or display area, within which scrolled contents are visible.- See Also:
 
- 
VERTICAL_SCROLLBAR
- 
HORIZONTAL_SCROLLBAR
- 
ROW_HEADERIdentifies the area along the left side of the viewport between the upper left corner and the lower left corner.- See Also:
 
- 
COLUMN_HEADERIdentifies the area at the top the viewport between the upper left corner and the upper right corner.- See Also:
 
- 
LOWER_LEFT_CORNER
- 
LOWER_RIGHT_CORNER
- 
UPPER_LEFT_CORNER
- 
UPPER_RIGHT_CORNER
- 
LOWER_LEADING_CORNERIdentifies 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_CORNERIdentifies 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_CORNERIdentifies 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_CORNERIdentifies 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_POLICYIdentifies the vertical scroll bar policy property.- See Also:
 
- 
HORIZONTAL_SCROLLBAR_POLICYIdentifies the horizontal scroll bar policy property.- See Also:
 
- 
VERTICAL_SCROLLBAR_AS_NEEDEDstatic final int VERTICAL_SCROLLBAR_AS_NEEDEDUsed to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.- See Also:
 
- 
VERTICAL_SCROLLBAR_NEVERstatic final int VERTICAL_SCROLLBAR_NEVERUsed to set the vertical scroll bar policy so that vertical scrollbars are never displayed.- See Also:
 
- 
VERTICAL_SCROLLBAR_ALWAYSstatic final int VERTICAL_SCROLLBAR_ALWAYSUsed to set the vertical scroll bar policy so that vertical scrollbars are always displayed.- See Also:
 
- 
HORIZONTAL_SCROLLBAR_AS_NEEDEDstatic final int HORIZONTAL_SCROLLBAR_AS_NEEDEDUsed to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.- See Also:
 
- 
HORIZONTAL_SCROLLBAR_NEVERstatic final int HORIZONTAL_SCROLLBAR_NEVERUsed to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.- See Also:
 
- 
HORIZONTAL_SCROLLBAR_ALWAYSstatic final int HORIZONTAL_SCROLLBAR_ALWAYSUsed to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.- See Also:
 
 
-