Cytoscape 2.8.0 API

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
protected static JComponent splashContent
           
protected static JWindow splashWindow
           
 
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)
          DOCUMENT ME!
static void centerWindowOnScreen(Window window)
          DOCUMENT ME!
static void centerWindowSize(Window window)
          DOCUMENT ME!
static void hideSplash()
          DOCUMENT ME!
static void showSplash(ImageIcon image, int milliseconds)
          DOCUMENT ME!
static void showSplash(ImageIcon image, int milliseconds, boolean start_timer)
          DOCUMENT ME!
static void showSplash(JComponent content, int milliseconds)
          DOCUMENT ME!
static void showSplash(JComponent content, int milliseconds, boolean start_timer)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

splashWindow

protected static JWindow splashWindow

splashContent

protected static JComponent splashContent
Constructor Detail

WindowUtilities

public WindowUtilities()
Method Detail

centerWindowOnScreen

public static void centerWindowOnScreen(Window window)
DOCUMENT ME!

Parameters:
window - DOCUMENT ME!

centerWindowSize

public static void centerWindowSize(Window window)
DOCUMENT ME!

Parameters:
window - DOCUMENT ME!

centerWindowLocation

public static void centerWindowLocation(Window window)
DOCUMENT ME!

Parameters:
window - DOCUMENT ME!

showSplash

public static void showSplash(ImageIcon image,
                              int milliseconds)
DOCUMENT ME!

Parameters:
image - DOCUMENT ME!
milliseconds - DOCUMENT ME!

showSplash

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

Parameters:
image - DOCUMENT ME!
milliseconds - DOCUMENT ME!
start_timer - DOCUMENT ME!

showSplash

public static void showSplash(JComponent content,
                              int milliseconds)
DOCUMENT ME!

Parameters:
content - DOCUMENT ME!
milliseconds - DOCUMENT ME!

showSplash

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

Parameters:
content - DOCUMENT ME!
milliseconds - DOCUMENT ME!
start_timer - DOCUMENT ME!

hideSplash

public static void hideSplash()
DOCUMENT ME!


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.