All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.basic.BasicScrollBarUI
java.lang.Object
|
+----com.sun.java.swing.plaf.ComponentUI
|
+----com.sun.java.swing.plaf.ScrollBarUI
|
+----com.sun.java.swing.basic.BasicScrollBarUI
- public class BasicScrollBarUI
- extends ScrollBarUI
- implements LayoutManager, Serializable
Implementation of ScrollBarUI for the Basic Look and Feel
-
buttonListener
-
-
decrButton
-
-
DECREASE_HIGHLIGHT
-
-
incrButton
-
-
INCREASE_HIGHLIGHT
-
-
isDragging
-
-
modelListener
-
-
NO_HIGHLIGHT
-
-
scrollbar
-
-
scrollbarTrack
-
-
scrollListener
-
-
scrollTimer
-
-
thumbRect
-
-
trackListener
-
-
trayHighlight
-
-
BasicScrollBarUI(JScrollBar)
-
-
addLayoutComponent(String, Component)
-
-
createDecreaseButton(int)
- Returns the view that represents the decrease view.
-
createIncreaseButton(int)
- Returns the view that represents the increase view.
-
createUI(JComponent)
-
-
decrementButton()
-
-
getMaximumSize(JComponent)
-
-
getMaximumThumbSize()
-
-
getMinimumSize(JComponent)
-
-
getMinimumThumbSize()
-
-
getPreferredSize(JComponent)
-
-
getThumbRect()
-
-
incrementButton()
-
-
installUI(JComponent)
-
-
layoutContainer(Container)
-
-
layoutHScrollbar(JScrollBar)
-
-
layoutVScrollbar(JScrollBar)
-
-
minimumLayoutSize(Container)
-
-
paint(Graphics, JComponent)
-
-
paintDecreaseHighlight(Graphics)
-
-
paintIncreaseHighlight(Graphics)
-
-
paintKnob(Graphics, JComponent, Rectangle)
-
-
paintTray(Graphics, JComponent, Rectangle)
-
-
preferredLayoutSize(Container)
-
-
removeLayoutComponent(Component)
-
-
scrollByBlock(int)
-
-
scrollByUnit(int)
-
-
scrollTrayRect()
-
-
setThumbRectBounds(int, int, int, int)
-
-
uninstallUI(JComponent)
-
scrollbar
protected JScrollBar scrollbar
incrButton
protected JButton incrButton
decrButton
protected JButton decrButton
isDragging
protected boolean isDragging
trackListener
protected BasicScrollBarUI. TrackListener trackListener
buttonListener
protected BasicScrollBarUI. ArrowButtonListener buttonListener
modelListener
protected BasicScrollBarUI. ModelListener modelListener
thumbRect
protected Rectangle thumbRect
trayHighlight
protected int trayHighlight
NO_HIGHLIGHT
protected static final int NO_HIGHLIGHT
DECREASE_HIGHLIGHT
protected static final int DECREASE_HIGHLIGHT
INCREASE_HIGHLIGHT
protected static final int INCREASE_HIGHLIGHT
scrollbarTrack
protected static final Color scrollbarTrack
scrollListener
protected BasicScrollBarUI. ScrollListener scrollListener
scrollTimer
protected Timer scrollTimer
BasicScrollBarUI
public BasicScrollBarUI(JScrollBar b)
createUI
public static ComponentUI createUI(JComponent b)
installUI
public void installUI(JComponent c)
- Overrides:
- installUI in class ComponentUI
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
- uninstallUI in class ComponentUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
- paint in class ComponentUI
getPreferredSize
public Dimension getPreferredSize(JComponent x)
- Overrides:
- getPreferredSize in class ComponentUI
getMinimumSize
public Dimension getMinimumSize(JComponent x)
- Overrides:
- getMinimumSize in class ComponentUI
getMaximumSize
public Dimension getMaximumSize(JComponent x)
- Overrides:
- getMaximumSize in class ComponentUI
decrementButton
protected JButton decrementButton()
incrementButton
protected JButton incrementButton()
createDecreaseButton
protected JButton createDecreaseButton(int orientation)
- Returns the view that represents the decrease view.
createIncreaseButton
protected JButton createIncreaseButton(int orientation)
- Returns the view that represents the increase view.
paintDecreaseHighlight
public void paintDecreaseHighlight(Graphics g)
paintIncreaseHighlight
public void paintIncreaseHighlight(Graphics g)
paintTray
public void paintTray(Graphics g,
JComponent c,
Rectangle trayBounds)
scrollTrayRect
public Rectangle scrollTrayRect()
paintKnob
public void paintKnob(Graphics g,
JComponent c,
Rectangle knobBounds)
getMinimumThumbSize
protected Dimension getMinimumThumbSize()
getMaximumThumbSize
protected Dimension getMaximumThumbSize()
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
removeLayoutComponent
public void removeLayoutComponent(Component comp)
preferredLayoutSize
public Dimension preferredLayoutSize(Container scrollbarContainer)
minimumLayoutSize
public Dimension minimumLayoutSize(Container scrollbarContainer)
layoutVScrollbar
protected void layoutVScrollbar(JScrollBar sb)
layoutHScrollbar
protected void layoutHScrollbar(JScrollBar sb)
layoutContainer
public void layoutContainer(Container scrollbarContainer)
setThumbRectBounds
public void setThumbRectBounds(int x,
int y,
int width,
int height)
getThumbRect
public Rectangle getThumbRect()
scrollByBlock
public void scrollByBlock(int direction)
scrollByUnit
public void scrollByUnit(int direction)
All Packages Class Hierarchy This Package Previous Next Index