javax.swing.plaf.basic

Class BasicSliderUI.ComponentHandler

public class BasicSliderUI.ComponentHandler extends ComponentAdapter

Helper class that listens for resize events.

UNKNOWN: Apparently this class was intended to be protected, but was made public by a compiler bug and is now public for compatibility.

Method Summary
voidcomponentResized(ComponentEvent e)
Called when the size of the component changes.

Method Detail

componentResized

public void componentResized(ComponentEvent e)
Called when the size of the component changes. The UI delegate should recalculate any rectangles that are dependent on the model for their positions and repaint.

Parameters: e A {@link ComponentEvent}.