org.jfree.report.modules.gui.swing.common

Class WindowSizeLimiter

public class WindowSizeLimiter extends ComponentAdapter

A small helper class to limit the maximum size of an element to the elements maximum size. If the element is resized, the defined maximum size is enforced on the element.

Author: Thomas Morgner

Constructor Summary
WindowSizeLimiter()
Default-Constructor.
Method Summary
voidcomponentResized(ComponentEvent e)
Invoked when the component's size changes.

Constructor Detail

WindowSizeLimiter

public WindowSizeLimiter()
Default-Constructor.

Method Detail

componentResized

public void componentResized(ComponentEvent e)
Invoked when the component's size changes.

Parameters: e the event.