edu.neu.ccs.gui
Class Refresh

java.lang.Object
  extended byedu.neu.ccs.gui.Refresh

public class Refresh
extends Object

Class Refresh encapsulates methods for graphics refresh.

Class Refresh cannot be instantiated.

Since:
2.3
Version:
2.3.3

Field Summary
private static Hashtable windowHashtable
          The hash table to collect windows being pack to prevent recursive calls to packParentWindow for the same window.
 
Constructor Summary
private Refresh()
          Private constructor to prevent instantiation.
 
Method Summary
static void packParentWindow(JComponent component)
          Revalidates the given component, packs its parent window, and then repaints the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowHashtable

private static Hashtable windowHashtable
The hash table to collect windows being pack to prevent recursive calls to packParentWindow for the same window.

Constructor Detail

Refresh

private Refresh()
Private constructor to prevent instantiation.

Method Detail

packParentWindow

public static void packParentWindow(JComponent component)

Revalidates the given component, packs its parent window, and then repaints the component.

As of 2.3.3, prevents indirect recursive calls to this method that attempt to pack the same window object.

Parameters:
component - the component whose parent window should be packed