APIdia Launch Partner
Top Description Fields Constructors Methods
sun.awt.X11

pack-priv final Class XHorizontalScrollbar

extends XScrollbar
Class Inheritance
Imports
java.awt.*

A simple horizontal scroll bar. The scrollbar is made horizontal by taking a vertical scrollbar and swapping the x and y coordinates.

Field Summary

Inherited from sun.awt.X11.XScrollbar:
alignmentALIGNMENT_HORIZONTALALIGNMENT_VERTICALarrowAreabarLengthbarWidthfirstArrowheightmodesbsecondArrowthumbOffsetwidth

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
beforeThumb(int x, int y)

Implements abstract sun.awt.X11.XScrollbar.beforeThumb.

protected Rectangle
getThumbArea()

Implements abstract sun.awt.X11.XScrollbar.getThumbArea.

Gets the area of the scroll track

protected void
public void
setSize(int width, int height)

Overrides sun.awt.X11.XScrollbar.setSize.

Inherited from sun.awt.X11.XScrollbar:
calculateArrowWidthcalculateThumbRectcreateArrowShapegetArrowAreaWidthgetArrowWidthgetBlockIncrementgetMaximumgetMinimumgetUnitIncrementgetValuegetVisibleAmounthandleMouseEventisInArrowisInThumbneedsRepaintnotifyValuenotifyValuepaintpaintArrowsscrollsetBlockIncrementsetMaximumsetMinimumsetModesetUnitIncrementsetValuesetValuessetValuessetVisibleAmountstartScrollingstartScrollingInstancestopScrollingInstancetoString

Constructor Detail

XHorizontalScrollbarback to summary
public XHorizontalScrollbar(XScrollbarClient sb)

Method Detail

beforeThumbback to summary
pack-priv boolean beforeThumb(int x, int y)

Implements abstract sun.awt.X11.XScrollbar.beforeThumb.

Annotations
@Override
getThumbAreaback to summary
protected Rectangle getThumbArea()

Implements abstract sun.awt.X11.XScrollbar.getThumbArea.

Doc from sun.awt.X11.XScrollbar.getThumbArea.

Gets the area of the scroll track

Annotations
@Override
rebuildArrowsback to summary
protected void rebuildArrows()

Implements abstract sun.awt.X11.XScrollbar.rebuildArrows.

Annotations
@Override
setSizeback to summary
public void setSize(int width, int height)

Overrides sun.awt.X11.XScrollbar.setSize.

Annotations
@Override