org.jdesktop.swingx.util
Class WindowUtils.MinSizeComponentListener
java.lang.Object
java.awt.event.ComponentAdapter
org.jdesktop.swingx.util.WindowUtils.MinSizeComponentListener
- All Implemented Interfaces:
- ComponentListener, EventListener
- Enclosing class:
- WindowUtils
public static class WindowUtils.MinSizeComponentListener
- extends ComponentAdapter
Resets window size to minSize if needed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resetSizes
public void resetSizes(int minWidth,
int minHeight)
componentResized
public void componentResized(ComponentEvent evt)
- Description copied from class:
java.awt.event.ComponentAdapter
- Invoked when the component's size changes.
- Specified by:
componentResized
in interface ComponentListener
- Overrides:
componentResized
in class ComponentAdapter