All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.motif.MotifScrollBarUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.ScrollBarUI
|
+----java.awt.swing.basic.BasicScrollBarUI
|
+----java.awt.swing.motif.MotifScrollBarUI
- public class MotifScrollBarUI
- extends BasicScrollBarUI
Implementation of ScrollBarUI for the Motif Look and Feel
MotifScrollBarUI()
-
configureScrollBarColors()
- Initialize the private static colors used by
paintKnob()
and paintTrack()
.
createDecreaseButton(int)
-
createIncreaseButton(int)
-
createUI(JComponent)
-
getMaximumThumbSize()
- Return the smallest acceptable size for the thumb.
getMinimumThumbSize()
- Return the smallest acceptable size for the thumb.
getPreferredSize(JComponent)
- A vertical scrollbars preferred width is the maximum of
preferred widths of the (non null) increment/decrement buttons,
and the minimum width of the thumb.
paintThumb(Graphics, JComponent, Rectangle)
-
paintTrack(Graphics, JComponent, Rectangle)
-
MotifScrollBarUI
public MotifScrollBarUI()
createUI
public static ComponentUI createUI(JComponent c)
configureScrollBarColors
protected void configureScrollBarColors()
- Initialize the private static colors used by
paintKnob()
and paintTrack()
.
- Overrides:
- configureScrollBarColors in class BasicScrollBarUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- A vertical scrollbars preferred width is the maximum of
preferred widths of the (non null) increment/decrement buttons,
and the minimum width of the thumb.
- Overrides:
- getPreferredSize in class BasicScrollBarUI
getMinimumThumbSize
protected Dimension getMinimumThumbSize()
- Return the smallest acceptable size for the thumb.
- Overrides:
- getMinimumThumbSize in class BasicScrollBarUI
getMaximumThumbSize
protected Dimension getMaximumThumbSize()
- Return the smallest acceptable size for the thumb.
- Overrides:
- getMaximumThumbSize in class BasicScrollBarUI
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
- Overrides:
- createDecreaseButton in class BasicScrollBarUI
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
- Overrides:
- createIncreaseButton in class BasicScrollBarUI
paintTrack
public void paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds)
- Overrides:
- paintTrack in class BasicScrollBarUI
paintThumb
public void paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds)
- Overrides:
- paintThumb in class BasicScrollBarUI
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature