|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The DataViewer interface for objects which views the data and provides the transaction.
| Method Summary | |
void |
addGroup(GroupBand gb)
Adds the group band |
void |
addRow()
Adds the record |
boolean |
checkJoin(Join join)
Checks the join is valid or not |
void |
deleteRow()
Deletes the record |
void |
editGroup(GroupBand gb,
int ind)
Edits the group band at specified index |
void |
firstRecord()
Moves to the first record |
DataProvider |
getDataProvider()
Gets the data provider |
java.util.Vector |
getGroups()
Returns the group bands |
Join |
getJoin()
Gets the master-detail relationship |
DataViewer |
getMasterDataViewer()
Gets the master data viewer |
int[] |
getSuppressRepetition()
Gets columns which repeating values are suppressed in detail band. |
boolean |
isAutoResize()
Determines whether the detail band of this data viewer is auto resizable in preview mode. |
boolean |
isPreview()
Determines whether this data viewer is in preview state. |
void |
lastRecord()
Moves to the last record |
void |
nextRecord()
Moves to the next record |
void |
previousRecord()
Moves to the previous record |
void |
removeGroup(int ind)
Removes the group band at the specified index |
void |
save()
Saves the transaction |
void |
scrollToRow(int rowIndex)
Moves to the record at the specified index |
void |
setDataProvider(DataProvider dataProvider)
Sets the data provider |
void |
setGroups(java.util.Vector groups)
Sets the group bands |
void |
setJoin(Join join)
Sets the master-detail relationship |
void |
setMasterDataViewer(DataViewer dataViewer)
Sets the master data viewer |
void |
setSuppressRepetition(int[] columns)
Sets columns which repeating values are suppressed in detail band. |
| Method Detail |
public void addRow()
public void deleteRow()
public void save()
public void firstRecord()
public void lastRecord()
public void nextRecord()
public void previousRecord()
public void scrollToRow(int rowIndex)
rowIndex - the record index to be scrolledpublic boolean isPreview()
public boolean isAutoResize()
public void setDataProvider(DataProvider dataProvider)
dataProvider - the data providerpublic DataProvider getDataProvider()
public void setSuppressRepetition(int[] columns)
columns - the indexes of the columnspublic int[] getSuppressRepetition()
public void setGroups(java.util.Vector groups)
groups - the vector containing the GroupBand objectspublic java.util.Vector getGroups()
public void addGroup(GroupBand gb)
gb - the group band
public void editGroup(GroupBand gb,
int ind)
gb - the group bandind - the index of the group bandpublic void removeGroup(int ind)
ind - the index of the group bandpublic void setMasterDataViewer(DataViewer dataViewer)
dataViewer - the master data viewerpublic DataViewer getMasterDataViewer()
public boolean checkJoin(Join join)
join - the column join
public void setJoin(Join join)
join - the join object representing the master-detail relationshippublic Join getJoin()
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||