Class WindowSizeLimiter
java.lang.Object
java.awt.event.ComponentAdapter
org.jfree.report.modules.gui.swing.common.WindowSizeLimiter
- All Implemented Interfaces:
ComponentListener
,EventListener
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the component's size changes.Methods inherited from class java.awt.event.ComponentAdapter
componentHidden, componentMoved, componentShown
-
Constructor Details
-
WindowSizeLimiter
public WindowSizeLimiter()Default-Constructor.
-
-
Method Details
-
componentResized
Invoked when the component's size changes.- Specified by:
componentResized
in interfaceComponentListener
- Overrides:
componentResized
in classComponentAdapter
- Parameters:
e
- the event.
-