KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > cms > gui > controlx > list > ListModelIterator


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 1993-2006 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.cms.gui.controlx.list;
14
15 import java.util.Iterator JavaDoc;
16
17
18 /**
19  * @author Sameer Charles $Id:ListModelIterator.java 2544 2006-04-04 12:47:32Z philipp $
20  */

21 public interface ListModelIterator extends Iterator JavaDoc {
22
23     /**
24      * get named value
25      * @param name its a key to which value is attached in this record
26      */

27     public Object JavaDoc getValue(String JavaDoc name);
28
29     /**
30      * The current object representing a row. Can be of any type.
31      * @return the object.
32      */

33     public Object JavaDoc getValueObject();
34
35     /**
36      * get group name
37      * @return name of the group of the current record
38      */

39     public String JavaDoc getGroupName();
40
41     /**
42      * jump to next group
43      */

44     public Object JavaDoc nextGroup();
45
46     /**
47      * checks if there are more records in the current group
48      * @return true if not EOF
49      */

50     public boolean hasNextInGroup();
51
52 }
53
Popular Tags