IT. Expert System.

Java Standard Edition (SE)

JScrollPane.ScrollBar


javax.swing

Class JScrollPane.ScrollBar

    • Constructor Detail

      • ScrollBar

        public ScrollBar(int orientation)
        Creates a scrollbar with the specified orientation. The options are:
        • ScrollPaneConstants.VERTICAL
        • ScrollPaneConstants.HORIZONTAL
        Parameters:
        orientation - an integer specifying one of the legal orientation values shown above
        Since:
        1.4
    • Method Detail

      • getUnitIncrement

        public int getUnitIncrement(int direction)
        Computes the unit increment for scrolling if the viewport's view is a Scrollable object. Otherwise return super.getUnitIncrement.
        Overrides:
        getUnitIncrement in class JScrollBar
        Parameters:
        direction - less than zero to scroll up/left, greater than zero for down/right
        Returns:
        an integer, in pixels, containing the unit increment
        See Also:
        Scrollable.getScrollableUnitIncrement(java.awt.Rectangle, int, int)
      • getBlockIncrement

        public int getBlockIncrement(int direction)
        Computes the block increment for scrolling if the viewport's view is a Scrollable object. Otherwise the blockIncrement equals the viewport's width or height. If there's no viewport return super.getBlockIncrement.
        Overrides:
        getBlockIncrement in class JScrollBar
        Parameters:
        direction - less than zero to scroll up/left, greater than zero for down/right
        Returns:
        an integer, in pixels, containing the block increment
        See Also:
        Scrollable.getScrollableBlockIncrement(java.awt.Rectangle, int, int)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 249 / 158716290. Delta: 0.05633 с