|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.datamessenger.util.FillConstraints
This Object is used to fill a RecordSet within a specified range.
After initalization, successive calls to nextColumn and
nextRow respectivly, will increment the constaints to
the next cell in a range bound by the width and initial row and
column index. The constraints do not include a maximum length.
RecordSet.fill(Object,Object,FillConstraints)| Field Summary | |
protected int |
column
|
protected int |
mincolumn
|
protected int |
minrow
|
protected int |
row
|
int |
width
|
| Constructor Summary | |
FillConstraints()
A new FillConstraints with a starting row and column index of 0. |
|
FillConstraints(int column,
int row,
int width)
A new FillConstraints with the specified starting row and column index and column width. |
|
| Method Summary | |
int |
column()
The current column. |
int |
nextColumn()
Gets the next column index. |
int |
nextRow()
Gets the next row index. |
void |
reset()
Resets the row and column indexes to their original location. |
int |
row()
The current row. |
void |
setCurrentColumn(int col)
Sets the constrains to a new column index. |
void |
setCurrentRow(int row)
Sets the constrains to a new row index. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected int mincolumn
protected int minrow
protected int column
protected int row
public int width
| Constructor Detail |
public FillConstraints()
width must be set prior to use.
public FillConstraints(int column,
int row,
int width)
| Method Detail |
public int nextColumn()
public int nextRow()
public void reset()
public void setCurrentColumn(int col)
public void setCurrentRow(int row)
public int row()
public int column()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Comments, suggestions, and bug reports are welcomed and encouraged. Please refer them to our support page. Thank you. |
Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.