]> git.mxchange.org Git - addressbook-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/gui/ClientFrame.java
A lot refacturings ...
[addressbook-lib.git] / Addressbook / src / org / mxchange / addressbook / client / gui / ClientFrame.java
index 24bec9870cb0ac279e49ffbfd955efbad4fe2abd..b68a3b7277f0ffd2396959e574ff9101889de61f 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.addressbook.client.gui;
 
 import org.mxchange.addressbook.FrameworkInterface;
 import org.mxchange.addressbook.client.Client;
+import org.mxchange.addressbook.contact.Contact;
 import org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException;
 
 /**
@@ -27,32 +28,50 @@ import org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException;
  */
 public interface ClientFrame extends FrameworkInterface {
 
-    /**
-     * Shutdown this frame
-     */
-    public void doShutdown ();
-
-    /**
-     * 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.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 ();
-
-    public void shutdownApplication ();
+       /**
+        * Shows the user the "add contact" form with some special text
+        * 
+        * @return Contact instance
+        */
+       public Contact doEnterOwnData ();
+
+       /**
+        * Shutdown this frame
+        */
+       public void doShutdown ();
+
+       /**
+        * Enables main window (frame)
+        */
+       public void enableMainWindow ();
+
+       /**
+        * 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.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 ();
+
+       /**
+        * Shuts down application
+        */
+       public void shutdownApplication ();
 }