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

Quick Search    Search Deep

edu.berkeley.guir.quill.util
Class HystericResizer  view HystericResizer download HystericResizer.java

java.lang.Object
  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
HystericResizer()
           
 
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

HystericResizer

public HystericResizer()
Method Detail

componentResized

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.