All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.jlf.JLFScrollBarUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.ScrollBarUI
|
+----java.awt.swing.basic.BasicScrollBarUI
|
+----java.awt.swing.jlf.JLFScrollBarUI
- public class JLFScrollBarUI
- extends BasicScrollBarUI
- implements MouseListener
Implementation of ScrollBarUI for the Java Look and Feel
isRollover-
scrollBarWidth-
JLFScrollBarUI()
-
configureScrollBarColors()
- Initialize the private static colors used by
paintKnob()
and paintTrack()
.
createDecreaseButton(int)
- Returns the view that represents the decrease view.
createIncreaseButton(int)
- Returns the view that represents the increase view.
createUI(JComponent)
-
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.
installUI(JComponent)
-
mouseClicked(MouseEvent)
-
mouseEntered(MouseEvent)
-
mouseExited(MouseEvent)
-
mousePressed(MouseEvent)
-
mouseReleased(MouseEvent)
-
paintThumb(Graphics, JComponent, Rectangle)
-
paintTrack(Graphics, JComponent, Rectangle)
-
uninstallUI(JComponent)
-
scrollBarWidth
protected static int scrollBarWidth
isRollover
protected boolean isRollover
JLFScrollBarUI
public JLFScrollBarUI()
createUI
public static ComponentUI createUI(JComponent c)
installUI
public void installUI(JComponent c)
- Overrides:
- installUI in class BasicScrollBarUI
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
- uninstallUI in class BasicScrollBarUI
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
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
- Returns the view that represents the decrease view.
- Overrides:
- createDecreaseButton in class BasicScrollBarUI
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
- Returns the view that represents the increase view.
- Overrides:
- createIncreaseButton in class BasicScrollBarUI
paintTrack
protected void paintTrack(Graphics g,
JComponent c,
Rectangle trackBounds)
- Overrides:
- paintTrack in class BasicScrollBarUI
paintThumb
protected void paintThumb(Graphics g,
JComponent c,
Rectangle thumbBounds)
- Overrides:
- paintThumb in class BasicScrollBarUI
getMinimumThumbSize
protected Dimension getMinimumThumbSize()
- Return the smallest acceptable size for the thumb.
- Overrides:
- getMinimumThumbSize in class BasicScrollBarUI
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
mouseClicked
public void mouseClicked(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature