]> git.mxchange.org Git - addressbook-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/gui/ClientFrame.java
Global commit: Changed spaces to tabs, because all Java files have tabs for indenting
[addressbook-lib.git] / Addressbook / src / org / mxchange / addressbook / client / gui / ClientFrame.java
index f0cc531062d875e8d920b7c0f660703d1e88f726..6a7d6b0b6b232df76c59b6952e3668e30031ab35 100644 (file)
@@ -16,9 +16,9 @@
  */
 package org.mxchange.addressbook.client.gui;
 
-import org.mxchange.addressbook.FrameAlreadyInitializedException;
 import org.mxchange.addressbook.FrameworkInterface;
 import org.mxchange.addressbook.client.Client;
+import org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException;
 
 /**
  * An interface for applications with a frame
@@ -27,30 +27,35 @@ import org.mxchange.addressbook.client.Client;
  */
 public interface ClientFrame extends FrameworkInterface {
 
-    /**
-     * Shutdown this frame
-     */
-    public void doShutdown ();
+       /**
+        * Shutdown this frame
+        */
+       public void doShutdown ();
 
-    /**
-     * Setups the frame (and starts it). You have to call initFrame() before you
-     * can call this method.
-     * 
-     * @param client Client instance
-     */
-    public void setupFrame (final Client client);
+       /**
+        * Setups the frame (and starts it). You have to call init() before you can
+        * call this method.
+        *
+        * @param client Client instance
+        */
+       public void setupFrame (final Client client);
 
-    /**
-     * Initializes frame
-     * 
-     * @throws org.mxchange.addressbook.FrameAlreadyInitializedException If this method has been called twice
-     */
-    public void initFrame () throws FrameAlreadyInitializedException;
+       /**
+        * Initializes frame
+        *
+        * @throws
+        * org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException If
+        * this method has been called twice
+        */
+       public void init () throws FrameAlreadyInitializedException;
 
-    /**
-     * Returns field isInitialized. This flag indicates whether this frame has been initialized or not.
-     * 
-     * @return Field isInitialized
-     */
-    public boolean isInitialized ();
+       /**
+        * Returns field isInitialized. This flag indicates whether this frame has
+        * been initialized or not.
+        *
+        * @return Field isInitialized
+        */
+       public boolean isInitialized ();
+
+       public void shutdownApplication ();
 }