| |
|
| java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.ScrollBarUI javax.swing.plaf.basic.BasicScrollBarUI javax.swing.plaf.synth.SynthScrollBarUI
Method Summary | |
protected void | configureScrollBarColors() | protected JButton | createDecreaseButton(int orientation) | protected JButton | createIncreaseButton(int orientation) | public static ComponentUI | createUI(JComponent c) | public SynthContext | getContext(JComponent c) | protected Dimension | getMinimumThumbSize() | public Dimension | getPreferredSize(JComponent c) 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. | public boolean | getSupportsAbsolutePositioning() | protected void | installDefaults() | protected void | installListeners() | public void | paint(Graphics g, JComponent c) | protected void | paint(SynthContext context, Graphics g) | public void | paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) | protected void | paintThumb(SynthContext ss, Graphics g, Rectangle thumbBounds) | protected void | paintTrack(SynthContext ss, Graphics g, Rectangle trackBounds) | public void | propertyChange(PropertyChangeEvent e) | protected void | setThumbRollover(boolean active) | protected void | uninstallDefaults() | protected void | uninstallListeners() | public void | update(Graphics g, JComponent c) |
configureScrollBarColors | protected void configureScrollBarColors()(Code) | | |
createDecreaseButton | protected JButton createDecreaseButton(int orientation)(Code) | | |
createIncreaseButton | protected JButton createIncreaseButton(int orientation)(Code) | | |
getPreferredSize | public Dimension getPreferredSize(JComponent c)(Code) | | 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.
Parameters: c - the JScrollBar that's delegating this method to us the preferred size of a Basic JScrollBar See Also: SynthScrollBarUI.getMaximumSize See Also: SynthScrollBarUI.getMinimumSize |
getSupportsAbsolutePositioning | public boolean getSupportsAbsolutePositioning()(Code) | | |
installDefaults | protected void installDefaults()(Code) | | |
installListeners | protected void installListeners()(Code) | | |
setThumbRollover | protected void setThumbRollover(boolean active)(Code) | | |
uninstallDefaults | protected void uninstallDefaults()(Code) | | |
uninstallListeners | protected void uninstallListeners()(Code) | | |
|
|
|