java.lang.Object | ||||
↳ | javax.swing.plaf.ComponentUI | |||
↳ | javax.swing.plaf.ScrollBarUI | |||
↳ | javax.swing.plaf.basic.BasicScrollBarUI | |||
↳ | com.sun.java.swing.plaf.motif.MotifScrollBarUI |
Implementation of ScrollBarUI for the Motif Look and Feel
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicScrollBarUI
| |||||||||||
From interface
javax.swing.SwingConstants
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicScrollBarUI
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A vertical scrollbar's preferred width is the maximum of
preferred widths of the (non
null )
increment/decrement buttons,
and the minimum width of the thumb. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicScrollBarUI
| |||||||||||
From class
javax.swing.plaf.ComponentUI
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.awt.LayoutManager
|
A vertical scrollbar's preferred width is the maximum of
preferred widths of the (non null
)
increment/decrement buttons,
and the minimum width of the thumb. The preferred height is the
sum of the preferred heights of the same parts. The basis for
the preferred size of a horizontal scrollbar is similar.
The preferredSize
is only computed once, subsequent
calls to this method just return a cached size.
c | the JScrollBar that's delegating this method to us |
---|