| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ICollectionView |
|
| 1.0;1 |
| 1 | package org.jtheque.core.managers.view.able; | |
| 2 | ||
| 3 | import java.awt.Component; | |
| 4 | ||
| 5 | /* | |
| 6 | * This file is part of JTheque. | |
| 7 | * | |
| 8 | * JTheque is free software: you can redistribute it and/or modify | |
| 9 | * it under the terms of the GNU General Public License as published by | |
| 10 | * the Free Software Foundation, either version 3 of the License. | |
| 11 | * | |
| 12 | * JTheque is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
| 19 | */ | |
| 20 | ||
| 21 | /** | |
| 22 | * A collection view specification. | |
| 23 | * | |
| 24 | * @author Baptiste Wicht | |
| 25 | */ | |
| 26 | public interface ICollectionView { | |
| 27 | /** | |
| 28 | * Set the error message to display on the view. | |
| 29 | * | |
| 30 | * @param message The error message. | |
| 31 | */ | |
| 32 | void setErrorMessage(String message); | |
| 33 | ||
| 34 | /** | |
| 35 | * Return the entered collection. | |
| 36 | * | |
| 37 | * @return the entered collection. | |
| 38 | */ | |
| 39 | String getCollection(); | |
| 40 | ||
| 41 | /** | |
| 42 | * Return the entered password. | |
| 43 | * | |
| 44 | * @return The entered password. | |
| 45 | */ | |
| 46 | String getPassword(); | |
| 47 | ||
| 48 | /** | |
| 49 | * Make the view appear. | |
| 50 | */ | |
| 51 | void appear(); | |
| 52 | ||
| 53 | /** | |
| 54 | * Return the implementation of the view. | |
| 55 | * | |
| 56 | * @return The implementation of the view. | |
| 57 | */ | |
| 58 | Component getImpl(); | |
| 59 | } |