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

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

Constructor Details

WindowSizeLimiter

public WindowSizeLimiter()
Default-Constructor.

Method Details

componentResized

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