javax.swing.plaf.basic.BasicScrollBarUI.ArrowButtonListener, javax.swing.plaf.basic.BasicScrollBarUI.ModelListener, javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicScrollBarUI.ScrollListener, javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
bumps, decreaseButton, FREE_STANDING_PROP, increaseButton, isFreeStanding, scrollBarWidth
buttonListener, decrButton, DECREASE_HIGHLIGHT, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbDarkShadowColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRect
Constructor and Description |
---|
SIPCommScrollBarUI()
Creates an instance of SIPCommScrollBarUI.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates the UI for the given JComponent.
|
protected java.awt.Dimension |
getMinimumThumbSize()
Returns the minimum scroll thumb size.
|
void |
loadSkin()
Loads UI resources.
|
protected void |
paintThumb(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle thumbBounds)
Paints the thumb of the scroll bar.
|
protected void |
paintTrack(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle trackBounds)
Paints the track of the scroll bar.
|
configureScrollBarColors, createDecreaseButton, createIncreaseButton, createPropertyChangeListener, getPreferredSize, installDefaults, installListeners, setThumbBounds
addLayoutComponent, createArrowButtonListener, createModelListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installKeyboardActions, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
public SIPCommScrollBarUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- the JComponent, for which to create an UIprotected void paintTrack(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle trackBounds)
paintTrack
in class javax.swing.plaf.metal.MetalScrollBarUI
g
- the Graphics object used for paintingc
- the component to paint a track fortrackBounds
- the bounds of the track to paintprotected void paintThumb(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle thumbBounds)
paintThumb
in class javax.swing.plaf.metal.MetalScrollBarUI
g
- the Graphics object used for paintingc
- the component to paint a thumb forthumbBounds
- the bounds of the thumb to paintprotected java.awt.Dimension getMinimumThumbSize()
getMinimumThumbSize
in class javax.swing.plaf.metal.MetalScrollBarUI
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.