de.esprit.common.gui

## Class WindowSizeController

- java.lang.Object
- - java.awt.event.ComponentAdapter
  - - de.esprit.common.gui.WindowSizeController

- All Implemented Interfaces:
    java.awt.event.ComponentListener, java.util.EventListener

      public class WindowSizeController
      extends java.awt.event.ComponentAdapter

  This class ensures a minimum window size after a resize event. The minimum size can be constrained by overriding the getMinimumSize() method. If the value of width or height is 0 then the constraint is ignored.
  Author:
    Rainer Buesch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WindowSizeController(java.awt.Window win)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `componentResized(java.awt.event.ComponentEvent e)`

    - ### Methods inherited from class java.awt.event.ComponentAdapter

      `componentHidden, componentMoved, componentShown`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WindowSizeController

          public WindowSizeController(java.awt.Window win)

  - ### Method Detail

    - #### componentResized

          public void componentResized(java.awt.event.ComponentEvent e)

      Specified by:
        `componentResized` in interface `java.awt.event.ComponentListener`
      Overrides:
        `componentResized` in class `java.awt.event.ComponentAdapter`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.