Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Class HystericResizer  view HystericResizer download

  extended byjava.awt.event.ComponentAdapter
      extended byedu.berkeley.guir.quill.util.HystericResizer
All Implemented Interfaces:
java.awt.event.ComponentListener, java.util.EventListener

public class HystericResizer
extends java.awt.event.ComponentAdapter

Adds hysteresis to a Component. That is, when the user resizes the Component, that becomes its preferredSize, so subsequent pack() operations will not change its size (although it can still be resized manually or with setSize() and its preferredSize can be changed with setPreferredSize()).

This software is distributed under the Berkeley Software License.

Constructor Summary
Method Summary
 void componentResized(java.awt.event.ComponentEvent e)
          Implements this method from the interface with an empty body.
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


public HystericResizer()
Method Detail


public void componentResized(java.awt.event.ComponentEvent e)
Description copied from class: java.awt.event.ComponentAdapter
Implements this method from the interface with an empty body.