Components that display logical rows or columns should compute
the scroll increment that will completely expose one new row
or column, depending on the value of orientation. Ideally,
components should handle a partially exposed row or column by
returning the distance required to completely expose the item.
Scrolling containers, like JScrollPane, will use this method
each time the user requests a unit scroll.
Returns:
The "unit" increment for scrolling in the specified direction.
This value should always be positive.
Parameters:
- visibleRect - The view area visible within the viewport
- orientation - Either SwingConstants.VERTICAL or SwingConstants.HORIZONTAL.
- direction - Less than zero to scroll up/left, greater than zero for down/right.
See Also:
JScrollBar.setUnitIncrement(int)
,