]> git.mxchange.org Git - jbonuscard-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java
Introduced Gender enum which replaces the old char
[jbonuscard-lib.git] / Addressbook / src / org / mxchange / addressbook / client / gui / SwingClient.java
index c9ed4f6d674f15346223e935c43caaa1bec6eda8..634b0cf2cf4cca5c1bad26da82e637102ac59517 100644 (file)
@@ -20,6 +20,7 @@ import org.mxchange.addressbook.application.Application;
 import org.mxchange.addressbook.client.BaseClient;
 import org.mxchange.addressbook.client.Client;
 import org.mxchange.addressbook.contact.Contact;
+import org.mxchange.addressbook.contact.Gender;
 import org.mxchange.addressbook.exceptions.FrameAlreadyInitializedException;
 import org.mxchange.addressbook.exceptions.UnhandledUserChoiceException;
 import org.mxchange.addressbook.menu.Menu;
@@ -84,11 +85,19 @@ public class SwingClient extends BaseClient implements Client {
                throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        }
 
+       /**
+        * Shows dialog to enter new contact
+        * 
+        * @return Returns finished Contact instance
+        */
        @Override
        public Contact doEnterOwnData () {
                throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        }
 
+       /**
+        * Shuts down this client
+        */
        @Override
        public void doShutdown () {
                // Debug message
@@ -100,14 +109,14 @@ public class SwingClient extends BaseClient implements Client {
                // Shutdown frame
                this.frame.doShutdown();
 
-       // @TODO Add other shutdown stuff
+               // @TODO Add other shutdown stuff
                // Debug message
                this.getLogger().trace("EXIT!");
        }
 
        @Override
        public void doUserMenuChoice () throws UnhandledUserChoiceException {
-       // Debug message
+               // Debug message
                //* NOISY-DEBUG: */ this.getLogger().trace("CALLED!");
 
                // Not implemented here
@@ -118,6 +127,11 @@ public class SwingClient extends BaseClient implements Client {
                throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        }
 
+       @Override
+       public Gender enterGender (final String message) {
+               throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+       }
+
        @Override
        public int enterInt (final int minimum, final int maximum, final String message) {
                throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.