applications.cryptotoolj
Class WindowManager
java.lang.Object
applications.cryptotoolj.WindowManager
public class WindowManager
- extends java.lang.Object
A collection of static methods used to manage CryptoTool windows.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowManager
public WindowManager()
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.