| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| IBorrowerView |
|
| 1.0;1 |
| 1 | package org.jtheque.primary.view.able; | |
| 2 | ||
| 3 | /* | |
| 4 | * This file is part of JTheque. | |
| 5 | * | |
| 6 | * JTheque is free software: you can redistribute it and/or modify | |
| 7 | * it under the terms of the GNU General Public License as published by | |
| 8 | * the Free Software Foundation, either version 3 of the License. | |
| 9 | * | |
| 10 | * JTheque is distributed in the hope that it will be useful, | |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | * GNU General Public License for more details. | |
| 14 | * | |
| 15 | * You should have received a copy of the GNU General Public License | |
| 16 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | */ | |
| 18 | ||
| 19 | import org.jtheque.core.managers.view.able.IView; | |
| 20 | import org.jtheque.primary.view.impl.models.able.IBorrowerModel; | |
| 21 | ||
| 22 | import javax.swing.JTextField; | |
| 23 | ||
| 24 | /** | |
| 25 | * A borrower view specification. | |
| 26 | * | |
| 27 | * @author Baptiste Wicht | |
| 28 | */ | |
| 29 | public interface IBorrowerView extends DataView, IView { | |
| 30 | /** | |
| 31 | * Return the text field containing the name of the borrower. | |
| 32 | * | |
| 33 | * @return The text field who contains the name. | |
| 34 | */ | |
| 35 | JTextField getFieldNom(); | |
| 36 | ||
| 37 | /** | |
| 38 | * Return the text field containing the first name of the borrower. | |
| 39 | * | |
| 40 | * @return The text field who contains the first name. | |
| 41 | */ | |
| 42 | JTextField getFieldFirstName(); | |
| 43 | ||
| 44 | /** | |
| 45 | * Return the text field containing the email of the borrower. | |
| 46 | * | |
| 47 | * @return The text field who contains the email. | |
| 48 | */ | |
| 49 | JTextField getFieldEmail(); | |
| 50 | ||
| 51 | @Override | |
| 52 | IBorrowerModel getModel(); | |
| 53 | } |