root / trunk / build / distribution / IzPack / src / lib / com / izforge / izpack / panels / ProcessingClient.java @ 21757
History | View | Annotate | Download (2.51 KB)
1 |
/*
|
---|---|
2 |
* $Id: ProcessingClient.java 5819 2006-06-14 07:29:09Z cesar $
|
3 |
* Copyright (C) 2003 Elmar Grom
|
4 |
*
|
5 |
* File : ProcessingClient.java
|
6 |
* Description : This interface must be implemented by any
|
7 |
* class that wants to use processing or
|
8 |
* validation services.
|
9 |
* Author's email : elmar@grom.net
|
10 |
* Author's Website : http://www.izforge.com
|
11 |
*
|
12 |
* This program is free software; you can redistribute it and/or
|
13 |
* modify it under the terms of the GNU General Public License
|
14 |
* as published by the Free Software Foundation; either version 2
|
15 |
* of the License, or any later version.
|
16 |
*
|
17 |
* This program is distributed in the hope that it will be useful,
|
18 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
* GNU General Public License for more details.
|
21 |
*
|
22 |
* You should have received a copy of the GNU General Public License
|
23 |
* along with this program; if not, write to the Free Software
|
24 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
25 |
*/
|
26 |
|
27 |
package com.izforge.izpack.panels; |
28 |
|
29 |
/*---------------------------------------------------------------------------*/
|
30 |
/**
|
31 |
* Implement this interface in any class that wants to use processing or
|
32 |
* validation services.
|
33 |
*
|
34 |
* @see com.izforge.izpack.panels.Processor
|
35 |
* @see com.izforge.izpack.panels.Validator
|
36 |
*
|
37 |
* @version 0.0.1 / 2/22/03
|
38 |
* @author Elmar Grom
|
39 |
*/
|
40 |
/*---------------------------------------------------------------------------*/
|
41 |
public interface ProcessingClient |
42 |
{ |
43 |
/*--------------------------------------------------------------------------*/
|
44 |
/**
|
45 |
* Returns the number of sub-fields.
|
46 |
*
|
47 |
* @return the number of sub-fields
|
48 |
*/
|
49 |
/*--------------------------------------------------------------------------*/
|
50 |
public int getNumFields (); |
51 |
/*--------------------------------------------------------------------------*/
|
52 |
/**
|
53 |
* Returns the contents of the field indicated by <code>index</code>.
|
54 |
*
|
55 |
* @param index the index of the sub-field from which the contents
|
56 |
* is requested.
|
57 |
*
|
58 |
* @return the contents of the indicated sub-field.
|
59 |
*
|
60 |
* @exception IndexOutOfBoundsException if the index is out of bounds.
|
61 |
*/
|
62 |
/*--------------------------------------------------------------------------*/
|
63 |
public String getFieldContents (int index); |
64 |
} |
65 |
/*---------------------------------------------------------------------------*/
|