]> git.mxchange.org Git - addressbook-swing.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/Client.java
Added a lot stuff:
[addressbook-swing.git] / Addressbook / src / org / mxchange / addressbook / client / Client.java
index 67131390ae84bece05d8b23ee11484660fd14fc9..0d5e154d0da157444773c1532a7784c26aac4983 100644 (file)
@@ -35,6 +35,11 @@ public interface Client extends FrameworkInterface {
      */\r
     public void displayAddressBox (final Contact contact);\r
 \r
+    /**\r
+     * Shuts down the client and therefore whole application\r
+     */\r
+    public void doShutdown ();\r
+\r
     /**\r
      * Displays a message to the user\r
      *\r
@@ -75,7 +80,7 @@ public interface Client extends FrameworkInterface {
     /**\r
      * Enables isRunning attribute which singals that the client is running\r
      */\r
-    public void enableIsRunning ();\r
+    public void enableIsRunning();\r
 \r
     /**\r
      * Asks the the user to enter a single character which must match validChars\r
@@ -131,7 +136,7 @@ public interface Client extends FrameworkInterface {
      * \r
      * @return Whether the client is still active\r
      */\r
-    public boolean isRunning ();\r
+    public boolean isRunning();\r
 \r
     /**\r
      * Shows given menu entry in client\r
@@ -143,10 +148,15 @@ public interface Client extends FrameworkInterface {
     /**\r
      * Shows introduction to user\r
      */\r
-    public void showWelcome ();\r
+    public void showWelcome();\r
 \r
     /**\r
      * Shows current menu selection to the user\r
      */\r
-    public void showCurrentMenu ();\r
+    public void showCurrentMenu();\r
+\r
+    /**\r
+     * Inizializes this client\r
+     */\r
+    public void initClient ();\r
 }\r