Java™ Platform
Standard Ed. 8
javax.swing

Interface ScrollPaneConstants

    • Field Detail

      • VIEWPORT

        static final String VIEWPORT
        Identifies a "viewport" or display area, within which scrolled contents are visible.
        See Also:
        Constant Field Values
      • ROW_HEADER

        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.
        See Also:
        Constant Field Values
      • COLUMN_HEADER

        static final 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

        static final String LOWER_LEFT_CORNER
        Identifies the lower left corner of the viewport.
        See Also:
        Constant Field Values
      • LOWER_RIGHT_CORNER

        static final String LOWER_RIGHT_CORNER
        Identifies the lower right corner of the viewport.
        See Also:
        Constant Field Values
      • UPPER_LEFT_CORNER

        static final String UPPER_LEFT_CORNER
        Identifies the upper left corner of the viewport.
        See Also:
        Constant Field Values
      • UPPER_RIGHT_CORNER

        static final String UPPER_RIGHT_CORNER
        Identifies the upper right corner of the viewport.
        See Also:
        Constant Field Values
      • LOWER_LEADING_CORNER

        static final 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.
        See Also:
        Constant Field Values
      • LOWER_TRAILING_CORNER

        static final 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.
        See Also:
        Constant Field Values
      • UPPER_LEADING_CORNER

        static final 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.
        See Also:
        Constant Field Values
      • UPPER_TRAILING_CORNER

        static final 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.
        See Also:
        Constant Field Values
      • VERTICAL_SCROLLBAR_POLICY

        static final String VERTICAL_SCROLLBAR_POLICY
        Identifies the vertical scroll bar policy property.
        See Also:
        Constant Field Values
      • HORIZONTAL_SCROLLBAR_POLICY

        static final String 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_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

        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

        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

        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

        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

        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
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部