|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.data.dataviewer.GroupBand
The GroupBand provides the properties of the group band for data viewer.
| Constructor Summary | |
GroupBand()
|
|
GroupBand(java.lang.String columns)
|
|
GroupBand(java.lang.String columns,
java.lang.String sorting)
|
|
GroupBand(java.lang.String columns,
java.lang.String sorting,
java.lang.String ordering)
|
|
GroupBand(java.lang.String columns,
java.lang.String sorting,
java.lang.String ordering,
boolean pageBreak,
boolean resetPageNo)
Creates a GroupBand with specified column names for grouping and sorting with its sorting order represented in the form of comma separated string. |
|
GroupBand(java.util.Vector groupColumns)
|
|
GroupBand(java.util.Vector groupColumns,
java.util.Vector sortColumns)
|
|
GroupBand(java.util.Vector groupColumns,
java.util.Vector sortColumns,
boolean pageBreak,
boolean resetPageNo)
Creates a GroupBand with specified column names for grouping and sorting with its sorting order represented in the form of vector. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns the clone of the caller object |
boolean |
equals(java.lang.Object obj)
Compares the specified Object with this GroupBand for equality. |
java.util.Vector |
getGroupColumns()
Gets the column names for grouping |
java.lang.String |
getGroupLabel()
Returns the identifier of the group |
java.util.Vector |
getSortColumnNames()
Returns the vector containing only the column names for sorting |
java.util.Vector |
getSortColumns()
Gets the column names for sorting |
boolean |
isAscendingSort(int columnIndex)
Determines the sort column at the specified index has the ascending sort |
boolean |
isAscendingSort(java.lang.String columnName)
Determines the specified sort column has the ascending sort |
boolean |
isNewPageOnGroupBreak()
Determines whether the new page is created when group is changed |
boolean |
isResetPageNoOnGroupBreak()
Determines whether the page no is reset when group is changed |
void |
readExternal(java.io.ObjectInput in)
|
void |
setGroupColumns(java.util.Vector groupColumns)
Sets the column names for grouping |
void |
setNewPageOnGroupBreak(boolean b)
Determines whether the new page is created when group is changed |
void |
setResetPageNoOnGroupBreak(boolean b)
Determines whether the page no is reset when group is changed |
void |
setSortColumns(java.util.Vector sortColumns)
Sets the column names for sorting |
static java.util.Vector |
stringToVector(java.lang.String str)
Converts the comma separated string into the vector |
java.lang.String |
toString()
Converts the object to a string |
static java.lang.String |
vectorToString(java.util.Vector vector)
Converts the vector into comma separated string |
void |
writeExternal(java.io.ObjectOutput out)
Externalizable interface implementation to save and retrieve the state of this object |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GroupBand()
public GroupBand(java.lang.String columns)
public GroupBand(java.lang.String columns,
java.lang.String sorting)
public GroupBand(java.lang.String columns,
java.lang.String sorting,
java.lang.String ordering)
public GroupBand(java.lang.String columns,
java.lang.String sorting,
java.lang.String ordering,
boolean pageBreak,
boolean resetPageNo)
columns - the column names for grouping, default nullsorting - the column names for sorting, default nullordering - the sorting order for the associated sort column names, default nullpageBreak - true if new page is created when group is changedresetPageNo - true if new page is created when group is changedpublic GroupBand(java.util.Vector groupColumns)
public GroupBand(java.util.Vector groupColumns,
java.util.Vector sortColumns)
public GroupBand(java.util.Vector groupColumns,
java.util.Vector sortColumns,
boolean pageBreak,
boolean resetPageNo)
groupColumns - the vector containing the column names for grouping, default nullsortColumns - the vector containing the column names for sorting with its sorting order , default nullpageBreak - true if new page is created when group is changedresetPageNo - true if new page is created when group is changed| Method Detail |
public java.lang.String getGroupLabel()
public void setGroupColumns(java.util.Vector groupColumns)
groupColumns - the vector containing the column names for groupingpublic java.util.Vector getGroupColumns()
public void setSortColumns(java.util.Vector sortColumns)
sortColumns - the vector containing the column names for sorting with its sorting orderpublic java.util.Vector getSortColumns()
public java.util.Vector getSortColumnNames()
public boolean isAscendingSort(java.lang.String columnName)
columnName - the sort column name
public boolean isAscendingSort(int columnIndex)
columnIndex - the sort column index
public void setNewPageOnGroupBreak(boolean b)
b - true if new page is creates when group is changedpublic boolean isNewPageOnGroupBreak()
public void setResetPageNoOnGroupBreak(boolean b)
b - true if page no is reset when group is changedpublic boolean isResetPageNoOnGroupBreak()
public static java.util.Vector stringToVector(java.lang.String str)
str - the comma separated string
public static java.lang.String vectorToString(java.util.Vector vector)
vector - the vector
public java.lang.Object clone()
public boolean equals(java.lang.Object obj)
obj - the Object to be compared for equality with this GroupBand.
public java.lang.String toString()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||