Statistics
| Revision:

root / import / ext3D / trunk / install-extension3d / IzPack / src / lib / com / izforge / izpack / panels / PacksPanelInterface.java @ 15280

History | View | Annotate | Download (1.88 KB)

1
/*
2
 *  $Id: PacksPanelInterface.java,v 1.1 2006/06/14 07:29:07 cesar Exp $
3
 *  IzPack
4
 *  Copyright (C) 2004 Gaganis Giorgos
5
 *
6
 *  File :               PacksPanelInterface.java
7
 *  Description :        Provides a to access both PacksPanel & ImgPacksPanel.
8
 *  Author's email :     gaganis@users.berlios.de
9
 *  Author's Website :   http://www.izforge.com
10
 *
11
 *  This program is free software; you can redistribute it and/or
12
 *  modify it under the terms of the GNU General Public License
13
 *  as published by the Free Software Foundation; either version 2
14
 *  of the License, or any later version.
15
 *
16
 *  This program is distributed in the hope that it will be useful,
17
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 *  GNU General Public License for more details.
20
 *
21
 *  You should have received a copy of the GNU General Public License
22
 *  along with this program; if not, write to the Free Software
23
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
 */
25
package com.izforge.izpack.panels;
26

    
27
import com.izforge.izpack.LocaleDatabase;
28

    
29
/**
30
 * This interface is used to be able to access the common information
31
 * in the PackPanel and the ImgPacksPAnel through a common type.
32
 * I introduced it so that I can remove the duplicate PacksModel from each
33
 * class and create a common one for both.
34
 *
35
 * This could be avoided by inheriting ImgPacksPanel from PacksPanel
36
 *
37
 * User: Gaganis Giorgos
38
 * Date: Sep 17, 2004
39
 * Time: 8:29:22 AM
40
 */
41

    
42
/*
43
 * @todo evaluate whether we want to eliminate this interface with
44
 * inheritance
45
 */
46
public interface PacksPanelInterface {
47

    
48
    public LocaleDatabase getLangpack();
49

    
50
    public int getBytes();
51

    
52
    public void setBytes(int bytes);
53

    
54
    public void showSpaceRequired();
55

    
56
    public void showFreeSpace();
57
}