Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans
package.
Please see java.
.
Modifier and Type | Field and Description |
---|---|
private PropertyChangeListener |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected PropertyChangeListener | Returns: a newPropertyChangeListener for scroll bar swap events.Returns a new |
public static ComponentUI | Returns: a newMetalScrollPaneUI a component x)Hides javax. MetalScrollPaneUI .
|
public void | installListeners(JScrollPane
an instance of scrollPane)JScrollPane Overrides javax. |
public void | installUI(JComponent
the component where this UI delegate is being installed c)Overrides javax. |
protected void | uninstallListeners(JComponent
a component c)Overrides javax. |
public void | uninstallListeners(JScrollPane
an instance of the scrollPane)JScrollPane
Deprecated
- Replaced by
uninstallListeners(JComponent)
|
public void | uninstallUI(JComponent
the component from which this UI delegate is being removed;
this argument is often ignored,
but might be used if the UI object is stateless
and shared by multiple components c)Overrides javax. installUI .
|
private void | updateScrollbarsFreeStanding()
If the border of the scrollpane is an instance of
|
scrollBarSwapListener | back to summary |
---|---|
private PropertyChangeListener scrollBarSwapListener |
MetalScrollPaneUI | back to summary |
---|---|
public MetalScrollPaneUI() Constructs a |
createScrollBarSwapListener | back to summary |
---|---|
protected PropertyChangeListener createScrollBarSwapListener() Returns a new
|
createUI | back to summary |
---|---|
public static ComponentUI createUI(JComponent x) Hides javax. Constructs a new
|
installListeners | back to summary |
---|---|
public void installListeners(JScrollPane scrollPane) Overrides javax. Doc from javax. Registers listeners.
|
installUI | back to summary |
---|---|
public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
|
uninstallListeners | back to summary |
---|---|
protected void uninstallListeners(JComponent c) Overrides javax. Doc from javax. Unregisters listeners.
|
uninstallListeners | back to summary |
---|---|
public void uninstallListeners(JScrollPane scrollPane)
Deprecated - Replaced by
|
uninstallUI | back to summary |
---|---|
public void uninstallUI(JComponent c) Overrides javax. Doc from javax. Reverses configuration which was done on the specified component during
|
updateScrollbarsFreeStanding | back to summary |
---|---|
private void updateScrollbarsFreeStanding() If the border of the scrollpane is an instance of
|