Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.util.shadegrown
Class WindowUtilities

java.lang.Object
  extended by cytoscape.util.shadegrown.WindowUtilities
All Implemented Interfaces:
WindowConstants

public abstract class WindowUtilities
extends Object
implements WindowConstants

WindowUtilities keeps track of open windows and may close down the JVM when all primary windows are closed (see #setExitJVMWhenAllWindowsClose and #addPrimaryWindow( Window )).


Field Summary
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Constructor Summary
WindowUtilities()
           
 
Method Summary
static void centerWindowLocation(Window window)
           
static void centerWindowOnScreen(Window window)
           
static void centerWindowSize(Window window)
           
static void hideSplash()
           
static void showSplash(ImageIcon image, int milliseconds)
           
static void showSplash(ImageIcon image, int milliseconds, boolean start_timer)
           
static void showSplash(JComponent content, int milliseconds)
           
static void showSplash(JComponent content, int milliseconds, boolean start_timer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowUtilities

public WindowUtilities()
Method Detail

centerWindowOnScreen

public static void centerWindowOnScreen(Window window)

centerWindowSize

public static void centerWindowSize(Window window)

centerWindowLocation

public static void centerWindowLocation(Window window)

showSplash

public static void showSplash(ImageIcon image,
                              int milliseconds)

showSplash

public static void showSplash(ImageIcon image,
                              int milliseconds,
                              boolean start_timer)

showSplash

public static void showSplash(JComponent content,
                              int milliseconds)

showSplash

public static void showSplash(JComponent content,
                              int milliseconds,
                              boolean start_timer)

hideSplash

public static void hideSplash()

www.cytoscape.org