public interface javax.swing
ScrollPaneConstants


Show All Login
Java SE 6
  
Implemented by: BasicScrollPaneUI, JScrollPane, ScrollPaneLayout
Details
Constants used with the JScrollPane component.
version1.18 11/17/05

Fields
final public static String VIEWPORT
Identifies a "viewport" or display area, within which scrolled contents are visible.
final public static String VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.
final public static String HORIZONTAL_SCROLLBAR
Identifies a horizonal scrollbar.
final public static String ROW_HEADER
Identifies the area along the left side of the viewport between the upper left corner and the lower left corner.
final public static String COLUMN_HEADER
Identifies the area at the top the viewport between the upper left corner and the upper right corner.
final public static String LOWER_LEFT_CORNER
Identifies the lower left corner of the viewport.
final public static String LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport.
final public static String UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport.
final public static String UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport.
final public static 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.
final public static 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.
final public static 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.
final public static 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.
final public static String VERTICAL_SCROLLBAR_POLICY
Identifies the vertical scroll bar policy property.
final public static String HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property.
final public static int VERTICAL_SCROLLBAR_AS_NEEDED
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.
final public static int VERTICAL_SCROLLBAR_NEVER
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.
final public static int VERTICAL_SCROLLBAR_ALWAYS
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.
final public static int HORIZONTAL_SCROLLBAR_AS_NEEDED
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.
final public static int HORIZONTAL_SCROLLBAR_NEVER
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
final public static int HORIZONTAL_SCROLLBAR_ALWAYS
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.