X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Addressbook%2Fsrc%2Forg%2Fmxchange%2Faddressbook%2Fclient%2FClient.java;h=0d5e154d0da157444773c1532a7784c26aac4983;hb=e06df9f02fa3fc03c21d5b2c3e2c8cb476be4ea3;hp=67131390ae84bece05d8b23ee11484660fd14fc9;hpb=6aee766f085ca3c6da8191b0f3d371585fbc6cdc;p=addressbook-swing.git diff --git a/Addressbook/src/org/mxchange/addressbook/client/Client.java b/Addressbook/src/org/mxchange/addressbook/client/Client.java index 6713139..0d5e154 100644 --- a/Addressbook/src/org/mxchange/addressbook/client/Client.java +++ b/Addressbook/src/org/mxchange/addressbook/client/Client.java @@ -35,6 +35,11 @@ public interface Client extends FrameworkInterface { */ public void displayAddressBox (final Contact contact); + /** + * Shuts down the client and therefore whole application + */ + public void doShutdown (); + /** * Displays a message to the user * @@ -75,7 +80,7 @@ public interface Client extends FrameworkInterface { /** * Enables isRunning attribute which singals that the client is running */ - public void enableIsRunning (); + public void enableIsRunning(); /** * Asks the the user to enter a single character which must match validChars @@ -131,7 +136,7 @@ public interface Client extends FrameworkInterface { * * @return Whether the client is still active */ - public boolean isRunning (); + public boolean isRunning(); /** * Shows given menu entry in client @@ -143,10 +148,15 @@ public interface Client extends FrameworkInterface { /** * Shows introduction to user */ - public void showWelcome (); + public void showWelcome(); /** * Shows current menu selection to the user */ - public void showCurrentMenu (); + public void showCurrentMenu(); + + /** + * Inizializes this client + */ + public void initClient (); }