|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.TableGroupInfo
public class TableGroupInfo
| Constructor Summary | |
|---|---|
TableGroupInfo(java.lang.String groupFieldName,
int sortType)
Creates a GroupInfo. |
|
TableGroupInfo(java.lang.String blName,
java.lang.String groupFieldName,
int sortType,
int specialFunctionType)
Creates a GroupInfo. |
|
| Method Summary | |
|---|---|
void |
addChild(int index,
java.lang.Object element)
Inserts group or detail at the specified position as child of the group. |
boolean |
addChild(java.lang.Object o)
Appends a group or a detail's information as a child of this group. |
void |
addFooterInfo(int index,
TableHeaderFooterInfo element)
Inserts FooterInfo of the group at the specified position. |
boolean |
addFooterInfo(TableHeaderFooterInfo o)
Appends a footer's information of this group. |
boolean |
addGroupFilterInfo(FilterInfo o)
Appends a group filter's information. |
void |
addGroupFilterInfo(int index,
FilterInfo element)
Inserts FilterInfo of the group at the specified position. |
void |
addHeaderInfo(int index,
TableHeaderFooterInfo element)
Inserts HeaderInfo of the group at the specified position. |
boolean |
addHeaderInfo(TableHeaderFooterInfo o)
Appends a header's information of this group. |
void |
addSortInfo(int index,
SortInfo element)
Inserts SortInfo of the group at the specified position. |
boolean |
addSortInfo(SortInfo o)
Appends a group sort's information. |
void |
clearChildren()
Removes all of the children from the group. |
void |
clearFooterInfos()
Removes all of footers' information from the group. |
void |
clearGroupFilterInfos()
Removes all of the filters' information from the group. |
void |
clearHeaderInfos()
Removes all of headers' information from the group. |
void |
clearSortInfos()
Removes all of the sorts' information from the group. |
TableAdvanceOption |
getAdvOption()
Gets AdvanceOption of the group. |
java.lang.String |
getBLName()
Gets group field name. |
java.lang.Object |
getChild(int index)
Returns the GroupInfo or DetailInfo at the specified position. |
java.util.Vector |
getChildren()
Gets children of this group. |
TableHeaderFooterInfo |
getFooterInfo(int index)
Returns the FooterInfo at the specified position. |
java.util.Vector |
getFooterInfos()
Gets footers' information of this group. |
DisplayFieldInfo |
getGroupFieldInfo()
Gets group field information. |
java.lang.String |
getGroupFieldName()
Gets group field name. |
FilterInfo |
getGroupFilterInfo(int index)
Returns the FilterInfo at the specified position. |
java.util.Vector |
getGroupFilterInfos()
Sets group filters' information. |
TableHeaderFooterInfo |
getHeaderInfo(int index)
Returns the HeaderInfo at the specified position. |
java.util.Vector |
getHeaderInfos()
Gets headers' information of this group. |
double |
getIndentInterval()
|
SortInfo |
getSortInfo(int index)
Returns the SortInfo at the specified position. |
java.util.Vector |
getSortInfos()
Sets group sorts' information. |
int |
getSortType()
Gets sort type of the group. |
int |
getSpecialFunctionType()
Gets special function type of the group. |
TableSpecifieldOption |
getSpecOption()
Gets special option of the group. |
boolean |
isIndentGroup()
|
boolean |
isParallel()
Tests if this group is parallel. |
java.lang.Object |
removeChild(int index)
Removes the element at the specified position. |
boolean |
removeChild(java.lang.Object o)
Removes the first occurrence of the specified element. |
TableHeaderFooterInfo |
removeFooterInfo(int index)
Removes the FooterInfo at the specified position. |
boolean |
removeFooterInfo(TableHeaderFooterInfo o)
Removes the first occurrence of the FooterInfo. |
boolean |
removeGroupFilterInfo(FilterInfo o)
Removes the first occurrence of the specified FilterInfo. |
FilterInfo |
removeGroupFilterInfo(int index)
Removes the FilterInfo at the specified position. |
TableHeaderFooterInfo |
removeHeaderInfo(int index)
Removes the HeaderInfo at the specified position. |
boolean |
removeHeaderInfo(TableHeaderFooterInfo o)
Removes the first occurrence of the HeaderInfo. |
SortInfo |
removeSortInfo(int index)
Removes the SortInfo at the specified position. |
boolean |
removeSortInfo(SortInfo o)
Removes the first occurrence of the SortInfo. |
void |
setAdvOption(TableAdvanceOption advOption)
Sets AdvanceOption of the group. |
void |
setBLName(java.lang.String blName)
Sets group field name. |
void |
setChildren(java.util.Vector children)
Sets groups and details' information as children of this group. |
void |
setFooterInfos(java.util.Vector footerInfos)
Sets footers' information of this group. |
void |
setGroupFieldName(java.lang.String groupFieldName)
Sets group field name. |
void |
setGroupFilterInfos(java.util.Vector groupFilterInfos)
Sets group filters' information. |
void |
setHeaderInfos(java.util.Vector headerInfos)
Sets headers' information of this group. |
void |
setIndentGroup(boolean isIndentGroup)
|
void |
setIndentInterval(double indentInterval)
|
void |
setParallel(boolean isParallel)
Sets group to parallel or not. |
void |
setSortInfos(java.util.Vector sortInfos)
Sets group sorts' information. |
void |
setSortType(int sortType)
Sets sort type of the group. |
void |
setSpecialFunctionType(int specialFunctionType)
Sets special function type of the group. |
void |
setSpecOption(TableSpecifieldOption specOption)
Gets special option of the group. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableGroupInfo(java.lang.String groupFieldName,
int sortType)
groupFieldName - sortType -
public TableGroupInfo(java.lang.String blName,
java.lang.String groupFieldName,
int sortType,
int specialFunctionType)
groupFieldName - sortType - specialFunctionType - | Method Detail |
|---|
public TableAdvanceOption getAdvOption()
public void setAdvOption(TableAdvanceOption advOption)
advOption - public DisplayFieldInfo getGroupFieldInfo()
public java.lang.String getGroupFieldName()
public void setGroupFieldName(java.lang.String groupFieldName)
groupFieldName - public java.lang.String getBLName()
public void setBLName(java.lang.String blName)
groupFieldName - public java.util.Vector getGroupFilterInfos()
public void setGroupFilterInfos(java.util.Vector groupFilterInfos)
groupFilterInfos - Vector of FilterInfo.
public void addGroupFilterInfo(int index,
FilterInfo element)
index - index at which the FilterInfo is to be inserted.element - FilterInfo to be inserted.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index > size()).public boolean addGroupFilterInfo(FilterInfo o)
o - FilterInfo to be appended.
public void clearGroupFilterInfos()
public FilterInfo getGroupFilterInfo(int index)
index - index of FilterInfo to return.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index >=
size()).public FilterInfo removeGroupFilterInfo(int index)
index - the index of the FilterInfo to removed.
java.lang.ArrayIndexOutOfBoundsException - index out of range (index < 0 || index >= size()).public boolean removeGroupFilterInfo(FilterInfo o)
(o==null ? get(i)==null : o.equals(get(i))) (if such an
FilterInfo exists).
o - FilterInfo to be removed, if present.
public java.util.Vector getSortInfos()
public void setSortInfos(java.util.Vector sortInfos)
public void addSortInfo(int index,
SortInfo element)
index - index at which the SortInfo is to be inserted.element - SortInfo to be inserted.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index > size()).public boolean addSortInfo(SortInfo o)
o - SortInfo to be appended.
public void clearSortInfos()
public SortInfo getSortInfo(int index)
index - index of SortInfo to return.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index >=
size()).public SortInfo removeSortInfo(int index)
index - the index of the SortInfo to removed.
java.lang.ArrayIndexOutOfBoundsException - index out of range (index < 0 || index >= size()).public boolean removeSortInfo(SortInfo o)
(o==null ? get(i)==null : o.equals(get(i))) (if such an
SortInfo exists).
o - SortInfo to be removed, if present.
public int getSortType()
public void setSortType(int sortType)
sortType - public int getSpecialFunctionType()
public void setSpecialFunctionType(int specialFunctionType)
specialFunctionType - public TableSpecifieldOption getSpecOption()
public void setSpecOption(TableSpecifieldOption specOption)
specOption - public java.util.Vector getChildren()
public void setChildren(java.util.Vector children)
public void addChild(int index,
java.lang.Object element)
index - index at which the specified element is to be inserted.element - element to be inserted. Element is instance of GroupInfo or
DetailInfo.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index > size()).public boolean addChild(java.lang.Object o)
o - GroupInfo or DetailInfo to be appended.
public void clearChildren()
public java.lang.Object getChild(int index)
index - index of element to return.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index >=
size()).public java.lang.Object removeChild(int index)
index - the index of the element to removed.
java.lang.ArrayIndexOutOfBoundsException - index out of range (index < 0 || index >= size()).public boolean removeChild(java.lang.Object o)
(o==null ? get(i)==null : o.equals(get(i))) (if such an
element exists).
o - GroupInfo or DetailInfo to be removed, if present.
public boolean isParallel()
public void setParallel(boolean isParallel)
isParallel - public java.util.Vector getFooterInfos()
public void setFooterInfos(java.util.Vector footerInfos)
public void addFooterInfo(int index,
TableHeaderFooterInfo element)
index - index at which the FooterInfo is to be inserted.element - FooterInfo to be inserted.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index > size()).public boolean addFooterInfo(TableHeaderFooterInfo o)
o - FooterInfo to be appended.
public void clearFooterInfos()
public TableHeaderFooterInfo getFooterInfo(int index)
index - index of FooterInfo to return.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index >=
size()).public TableHeaderFooterInfo removeFooterInfo(int index)
index - the index of the FooterInfo to removed.
java.lang.ArrayIndexOutOfBoundsException - index out of range (index < 0 || index >= size()).public boolean removeFooterInfo(TableHeaderFooterInfo o)
(o==null ? get(i)==null : o.equals(get(i))) (if such an
FooterInfo exists).
o - FooterInfo to be removed, if present.
public java.util.Vector getHeaderInfos()
public void setHeaderInfos(java.util.Vector headerInfos)
public void addHeaderInfo(int index,
TableHeaderFooterInfo element)
index - index at which the HeaderInfo is to be inserted.element - HeaderInfo to be inserted.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index > size()).public boolean addHeaderInfo(TableHeaderFooterInfo o)
o - HeaderInfo to be appended.
public void clearHeaderInfos()
public TableHeaderFooterInfo getHeaderInfo(int index)
index - index of HeaderInfo to return.
java.lang.ArrayIndexOutOfBoundsException - index is out of range (index < 0 || index >=
size()).public TableHeaderFooterInfo removeHeaderInfo(int index)
index - the index of the HeaderInfo to removed.
java.lang.ArrayIndexOutOfBoundsException - index out of range (index < 0 || index >= size()).public boolean removeHeaderInfo(TableHeaderFooterInfo o)
(o==null ? get(i)==null : o.equals(get(i))) (if such an
HeaderInfo exists).
o - HeaderInfo to be removed, if present.
public boolean isIndentGroup()
public void setIndentGroup(boolean isIndentGroup)
public double getIndentInterval()
public void setIndentInterval(double indentInterval)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||