javax.swing.plaf.metal
Class MetalSliderUI.MetalPropertyListener

java.lang.Object
  extended by javax.swing.plaf.basic.BasicSliderUI.PropertyChangeHandler
      extended by 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.


Constructor Summary
protected MetalSliderUI.MetalPropertyListener()
          Creates a new listener.
 
Method Summary
 void propertyChange(PropertyChangeEvent e)
          Handles property change events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetalSliderUI.MetalPropertyListener

protected MetalSliderUI.MetalPropertyListener()
Creates a new listener.

Method Detail

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.