javax.swing.plaf.metal
Class MetalSliderUI.MetalPropertyListener
java.lang.Object
javax.swing.plaf.basic.BasicSliderUI.PropertyChangeHandler
javax.swing.plaf.metal.MetalSliderUI.MetalPropertyListener
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
- Enclosing class:
- MetalSliderUI
protected class MetalSliderUI.MetalPropertyListener
- extends BasicSliderUI.PropertyChangeHandler
A property change handler that updates the rendered component in response
to specific property change events. This custom handler is used to
intercept the "JSlider.isFilled" property, which is only recognised by
the MetalLookAndFeel
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetalSliderUI.MetalPropertyListener
protected MetalSliderUI.MetalPropertyListener()
- Creates a new listener.
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Handles property change events. Events with the name "JSlider.isFilled"
are handled here, and other events are passed to the superclass.
- Specified by:
propertyChange
in interface PropertyChangeListener
- Overrides:
propertyChange
in class BasicSliderUI.PropertyChangeHandler
- Parameters:
e
- the property change event.