JavaTM 2 Platform
Standard Edition

javax.swing
Interface ScrollPaneConstants

All Known Implementing Classes:
ScrollPaneLayout, JScrollPane, BasicScrollPaneUI

public interface ScrollPaneConstants

Constants used with the JScrollPane component.


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

Field Detail

VIEWPORT

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

VERTICAL_SCROLLBAR

public static final String VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.

HORIZONTAL_SCROLLBAR

public static final String HORIZONTAL_SCROLLBAR
Identifies a horizonal scrollbar.

ROW_HEADER

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.

COLUMN_HEADER

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

LOWER_LEFT_CORNER

public static final String LOWER_LEFT_CORNER
Identifies the lower left corner of the viewport.

LOWER_RIGHT_CORNER

public static final String LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport.

UPPER_LEFT_CORNER

public static final String UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport.

UPPER_RIGHT_CORNER

public static final String UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport.

VERTICAL_SCROLLBAR_POLICY

public static final String VERTICAL_SCROLLBAR_POLICY
Identifies the vertical scroll bar policy property.

HORIZONTAL_SCROLLBAR_POLICY

public static final String HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property.

VERTICAL_SCROLLBAR_AS_NEEDED

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.

VERTICAL_SCROLLBAR_NEVER

public static final int VERTICAL_SCROLLBAR_NEVER
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.

VERTICAL_SCROLLBAR_ALWAYS

public static final int VERTICAL_SCROLLBAR_ALWAYS
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.

HORIZONTAL_SCROLLBAR_AS_NEEDED

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.

HORIZONTAL_SCROLLBAR_NEVER

public static final int HORIZONTAL_SCROLLBAR_NEVER
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.

HORIZONTAL_SCROLLBAR_ALWAYS

public static final int HORIZONTAL_SCROLLBAR_ALWAYS
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.