X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Addressbook%2Fsrc%2Forg%2Fmxchange%2Faddressbook%2Fclient%2Fgui%2FSwingClient.java;h=634b0cf2cf4cca5c1bad26da82e637102ac59517;hb=2a605f8ef9955c6acc7d9dc8de26d6a362573c58;hp=c9ed4f6d674f15346223e935c43caaa1bec6eda8;hpb=ea30fd0dc674dcd10c3aead1acd47000a99d7334;p=jbonuscard-lib.git diff --git a/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java b/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java index c9ed4f6..634b0cf 100644 --- a/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java +++ b/Addressbook/src/org/mxchange/addressbook/client/gui/SwingClient.java @@ -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.