Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

javax.swing
Interface ScrollPaneConstants

All Known Implementing Classes:
JScrollPane, ScrollPaneLayout

public interface ScrollPaneConstants

Constants used with the JScrollPane component.


Field Summary
static java.lang.String COLUMN_HEADER
          Identifies the area at the top the viewport between the upper left corner and the upper right corner.
static java.lang.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 java.lang.String HORIZONTAL_SCROLLBAR_POLICY
          Identifies the horizontal scroll bar policy property.
static java.lang.String LOWER_LEADING_CORNER
          

Field Detail

VIEWPORT

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

See Also:
Constant Field Values

VERTICAL_SCROLLBAR

public static final java.lang.String VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR

public static final java.lang.String HORIZONTAL_SCROLLBAR
Identifies a horizonal scrollbar.

See Also:
Constant Field Values

ROW_HEADER

public static final java.lang.String 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

public static final java.lang.String 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

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

See Also:
Constant Field Values

LOWER_RIGHT_CORNER

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

See Also:
Constant Field Values

UPPER_LEFT_CORNER

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

See Also:
Constant Field Values

UPPER_RIGHT_CORNER

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

See Also:
Constant Field Values

LOWER_LEADING_CORNER

public static final java.lang.String LOWER_LEADING_CORNER

LOWER_TRAILING_CORNER

public static final java.lang.String LOWER_TRAILING_CORNER

UPPER_LEADING_CORNER

public static final java.lang.String UPPER_LEADING_CORNER

UPPER_TRAILING_CORNER

public static final java.lang.String UPPER_TRAILING_CORNER

VERTICAL_SCROLLBAR_POLICY

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

See Also:
Constant Field Values

HORIZONTAL_SCROLLBAR_POLICY

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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.