1 /*
2 * $Id: SwingerDialog.java 1983 2010-02-23 06:46:51Z andrewinkler $
3 * ============================================================================
4 * Project swinger
5 * Copyright (c) 2004-2006 by Andre Winkler. All rights reserved.
6 * ============================================================================
7 * GNU LESSER GENERAL PUBLIC LICENSE
8 * TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 *
24 */
25
26 package de.gluehloch.swinger.dialog;
27
28 import de.gluehloch.swinger.dialog.model.DialogModel;
29
30 /**
31 * Ein SwingerDialog besitzt immer ein Modell.
32 *
33 * @author by Andre Winkler, $LastChangedBy: andrewinkler $
34 * @version $LastChangedRevision: 1983 $ $LastChangedDate: 2010-02-23 07:46:51 +0100 (Di, 23 Feb 2010) $
35 */
36 public interface SwingerDialog {
37
38 /**
39 * Liefert das Modell zu diesem Dialog.
40 *
41 * @return Das Modell für diesen Dialog.
42 */
43 public DialogModel getDialogModel();
44
45 /**
46 * Dialog wird sichtbar oder nicht sichtbar.
47 *
48 * @param visible <code>true</code> sichtbar; <code>false</code> nicht
49 * sichtbar.
50 */
51 public void setVisible(boolean visible);
52
53 }