void
|
addLayoutComponent(String name, Component child)
If the layout manager uses a per-component string,
adds the component comp to the layout,
associating it
with the string specified by name .
|
void
|
configureScrollBarColors()
|
BasicScrollBarUI.ArrowButtonListener
|
createArrowButtonListener()
|
JButton
|
createDecreaseButton(int orientation)
|
JButton
|
createIncreaseButton(int orientation)
|
BasicScrollBarUI.ModelListener
|
createModelListener()
|
PropertyChangeListener
|
createPropertyChangeListener()
|
BasicScrollBarUI.ScrollListener
|
createScrollListener()
|
BasicScrollBarUI.TrackListener
|
createTrackListener()
|
static
ComponentUI
|
createUI(JComponent c)
|
Dimension
|
getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for
the look and feel.
|
Dimension
|
getMaximumThumbSize()
Return the largest acceptable size for the thumb.
|
Dimension
|
getMinimumThumbSize()
Return the smallest acceptable size for the thumb.
|
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.
|
boolean
|
getSupportsAbsolutePositioning()
Indicates whether the user can absolutely position the thumb with
a mouse gesture (usually the middle mouse button).
|
Rectangle
|
getThumbBounds()
Return the current size/location of the thumb.
|
Rectangle
|
getTrackBounds()
Returns the current bounds of the track, i.e.
|
void
|
installComponents()
|
void
|
installDefaults()
|
void
|
installKeyboardActions()
|
void
|
installListeners()
|
void
|
installUI(JComponent c)
Configures the specified component appropriate for the look and feel.
|
boolean
|
isThumbRollover()
Returns true if the mouse is currently over the thumb.
|
void
|
layoutContainer(Container scrollbarContainer)
Lays out the specified container.
|
void
|
layoutHScrollbar(JScrollBar sb)
|
void
|
layoutVScrollbar(JScrollBar sb)
|
Dimension
|
minimumLayoutSize(Container scrollbarContainer)
Calculates the minimum size dimensions for the specified
container, given the components it contains.
|
void
|
paint(Graphics g, JComponent c)
Paints the specified component appropriate for the look and feel.
|
void
|
paintDecreaseHighlight(Graphics g)
|
void
|
paintIncreaseHighlight(Graphics g)
|
void
|
paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
|
void
|
paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
|
Dimension
|
preferredLayoutSize(Container scrollbarContainer)
Calculates the preferred size dimensions for the specified
container, given the components it contains.
|
void
|
removeLayoutComponent(Component child)
Removes the specified component from the layout.
|
void
|
scrollByBlock(int direction)
|
void
|
scrollByUnit(int direction)
|
void
|
setThumbBounds(int x, int y, int width, int height)
Set the bounds of the thumb and force a repaint that includes
the old thumbBounds and the new one.
|
void
|
setThumbRollover(boolean active)
Sets whether or not the mouse is currently over the thumb.
|
void
|
uninstallComponents()
|
void
|
uninstallDefaults()
|
void
|
uninstallKeyboardActions()
|
void
|
uninstallListeners()
|
void
|
uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during
installUI .
|