|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.GroupList
The group list is used to store groups in a ordered way. The less specific groups are guaranteed to be listed before any more specific subgroup.
Groups are ordered by comparing the declared fieldnames for the groups. A subgroup of an group must contain all fields from its parent plus at least one new field.
This implementation is not synchronized.
| Constructor Summary | |
GroupList()
Constructs a new empty group list. |
|
GroupList(GroupList list)
Creates a new group list. |
|
| Method Summary | |
void |
add(Group o)
Adds a group to the list. |
void |
addAll(java.util.Collection c)
|
void |
clear()
Clears the list. |
java.lang.Object |
clone()
Clones the list. |
Group |
get(int i)
Returns the group at a position in the list. |
StyleSheetCollection |
getStyleSheetCollection()
|
java.util.Iterator |
iterator()
Returns an iterator for the list. |
boolean |
remove(Group o)
Removes an object from the list. |
void |
setStyleSheetCollection(StyleSheetCollection styleSheetCollection)
|
int |
size()
Returns the number of groups in the list. |
java.lang.String |
toString()
Returns a string representation of the list (useful for debugging). |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GroupList()
public GroupList(GroupList list)
list - groups to add to the list.| Method Detail |
public Group get(int i)
i - the position index (zero-based).
public boolean remove(Group o)
o - the object.
public void clear()
public void add(Group o)
o - the group object.public void addAll(java.util.Collection c)
public java.lang.Object clone()
public java.util.Iterator iterator()
public int size()
public java.lang.String toString()
public StyleSheetCollection getStyleSheetCollection()
public void setStyleSheetCollection(StyleSheetCollection styleSheetCollection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||