applications.cryptotoolj
Class WindowManager

java.lang.Object
  extended by applications.cryptotoolj.WindowManager

public class WindowManager
extends java.lang.Object

A collection of static methods used to manage CryptoTool windows.


Constructor Summary
WindowManager()
           
 
Method Summary
static void addWindow(CipherFrame win)
           
static boolean closeAllWindows()
          Closes all CipherFrame windows.
static CipherFrame getActiveCipherFrame()
           
static java.applet.Applet getApplet()
           
static CryptoToolJ getCryptoTool()
           
static int getWindowCount()
           
static void init(CryptoToolJ cryptotool, java.applet.Applet appletIn)
           
static void removeWindow(CipherFrame win)
          Closes the current window and removes it from the window list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowManager

public WindowManager()
Method Detail

init

public static void init(CryptoToolJ cryptotool,
                        java.applet.Applet appletIn)

getCryptoTool

public static CryptoToolJ getCryptoTool()

getApplet

public static java.applet.Applet getApplet()

getActiveCipherFrame

public static CipherFrame getActiveCipherFrame()

getWindowCount

public static int getWindowCount()

addWindow

public static void addWindow(CipherFrame win)

removeWindow

public static void removeWindow(CipherFrame win)
Closes the current window and removes it from the window list.


closeAllWindows

public static boolean closeAllWindows()
Closes all CipherFrame windows. Stops and returns false if any "save changes" dialog is canceled.