|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollPaneUI
javax.swing.plaf.basic.BasicScrollPaneUI
javax.swing.plaf.metal.MetalScrollPaneUI
public class MetalScrollPaneUI
A UI delegate for the JScrollPane
component.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollPaneUI |
---|
BasicScrollPaneUI.HSBChangeListener, BasicScrollPaneUI.MouseWheelHandler, BasicScrollPaneUI.PropertyChangeHandler, BasicScrollPaneUI.ViewportChangeHandler, BasicScrollPaneUI.VSBChangeListener |
Field Summary |
---|
Fields inherited from class javax.swing.plaf.basic.BasicScrollPaneUI |
---|
hsbChangeListener, scrollpane, spPropertyChangeListener, viewportChangeListener, vsbChangeListener |
Constructor Summary | |
---|---|
MetalScrollPaneUI()
Constructs a new instance of MetalScrollPaneUI . |
Method Summary | |
---|---|
protected PropertyChangeListener |
createScrollBarSwapListener()
TODO |
static ComponentUI |
createUI(JComponent component)
Returns a shared instance of MetalScrollPaneUI . |
void |
installListeners(JScrollPane scrollPane)
Installs listeners on scrollPane |
void |
installUI(JComponent c)
Configures the specified component appropriate for the look and feel. |
void |
uninstallListeners(JScrollPane scrollPane)
Uninstalls listeners on scrollPane |
void |
uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during installUI. |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetalScrollPaneUI()
MetalScrollPaneUI
.
Method Detail |
---|
public static ComponentUI createUI(JComponent component)
MetalScrollPaneUI
.
component
- the component for which we return an UI instance
MetalScrollPaneUI
.public void installUI(JComponent c)
installUI
in class BasicScrollPaneUI
c
- - the component to install the ui onComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
uninstallUI
in class BasicScrollPaneUI
c
- - the component to uninstall the ui onComponentUI.installUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void installListeners(JScrollPane scrollPane)
installListeners
in class BasicScrollPaneUI
scrollPane
- - the component to install the listeners onpublic void uninstallListeners(JScrollPane scrollPane)
scrollPane
- - the component to uninstall the listeners onprotected PropertyChangeListener createScrollBarSwapListener()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |