computeHorizontalScrollExtent

Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal range. This value is used to compute the length of the thumb within the scrollbar's track.

The range is expressed in arbitrary units that must be the same as the units used by computeHorizontalScrollRange and computeHorizontalScrollOffset.

Default implementation returns 0.

If you want to support scroll bars, override computeHorizontalScrollExtent in your LayoutManager.

Return

The horizontal extent of the scrollbar's thumb

See also