+++ /dev/null
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.addressbook.client.gui;
-
-import org.mxchange.jcore.FrameworkInterface;
-import org.mxchange.jcore.client.Client;
-import org.mxchange.jcore.contact.Contact;
-import org.mxchange.jcore.exceptions.FrameAlreadyInitializedException;
-
-/**
- * An interface for applications with a frame
- *
- * @author Roland Haeder
- */
-public interface ClientFrame extends FrameworkInterface {
-
- /**
- * 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.jcore.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 ();
-}