com.alee.laf.scroll
Class WebScrollPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollPaneUI
javax.swing.plaf.basic.BasicScrollPaneUI
com.alee.laf.scroll.WebScrollPaneUI
- All Implemented Interfaces:
- ShapeProvider, javax.swing.ScrollPaneConstants
public class WebScrollPaneUI
- extends javax.swing.plaf.basic.BasicScrollPaneUI
- implements ShapeProvider
User: mgarin Date: 29.04.11 Time: 15:34
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollPaneUI |
javax.swing.plaf.basic.BasicScrollPaneUI.HSBChangeListener, javax.swing.plaf.basic.BasicScrollPaneUI.MouseWheelHandler, javax.swing.plaf.basic.BasicScrollPaneUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicScrollPaneUI.ViewportChangeHandler, javax.swing.plaf.basic.BasicScrollPaneUI.VSBChangeListener |
Fields inherited from class javax.swing.plaf.basic.BasicScrollPaneUI |
hsbChangeListener, scrollpane, spPropertyChangeListener, viewportChangeListener, vsbChangeListener |
Fields inherited from interface javax.swing.ScrollPaneConstants |
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT |
Methods inherited from class javax.swing.plaf.basic.BasicScrollPaneUI |
createHSBChangeListener, createMouseWheelListener, createPropertyChangeListener, createViewportChangeListener, createVSBChangeListener, getBaseline, getBaselineResizeBehavior, getMaximumSize, installDefaults, installKeyboardActions, installListeners, syncScrollPaneWithViewport, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, updateColumnHeader, updateRowHeader, updateScrollBarDisplayPolicy, updateViewport |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
focusTracker
protected FocusTracker focusTracker
- Scroll pane focus tracker.
WebScrollPaneUI
public WebScrollPaneUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicScrollPaneUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.basic.BasicScrollPaneUI
provideShape
public java.awt.Shape provideShape()
- Description copied from interface:
ShapeProvider
- Returns component shape.
- Specified by:
provideShape
in interface ShapeProvider
- Returns:
- component shape
isDrawBorder
public boolean isDrawBorder()
setDrawBorder
public void setDrawBorder(boolean drawBorder)
getRound
public int getRound()
setRound
public void setRound(int round)
getShadeWidth
public int getShadeWidth()
setShadeWidth
public void setShadeWidth(int shadeWidth)
getMargin
public java.awt.Insets getMargin()
setMargin
public void setMargin(java.awt.Insets margin)
isDrawFocus
public boolean isDrawFocus()
setDrawFocus
public void setDrawFocus(boolean drawFocus)
isDrawBackground
public boolean isDrawBackground()
setDrawBackground
public void setDrawBackground(boolean drawBackground)
getBorderColor
public java.awt.Color getBorderColor()
setBorderColor
public void setBorderColor(java.awt.Color borderColor)
getDarkBorder
public java.awt.Color getDarkBorder()
setDarkBorder
public void setDarkBorder(java.awt.Color darkBorder)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.basic.BasicScrollPaneUI