public class PPartialListFmt extends Object
PInfranetServlet to save the
data in the database.| Constructor and Description |
|---|
PPartialListFmt()
Constructs a Format Bean that returns a partial list of items.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDataArray(int index)
Gets the item at the specified index from the list when the bean is loaded.
|
int |
getNoItemsLeft()
Gets the number of items in the list yet to be displayed when the bean is loaded.
|
int |
getStartIndex()
Gets the start index when the bean is loaded.
|
Object[] |
getSubDataArray(int fromIndex,
int size)
Gets a subset of the list when the bean is loaded.
|
void |
setDataArray(int index,
Object result)
Sets the object at index in the list.
|
void |
setDataArray(Object[] result)
Sets the current data array indexed property.
|
void |
setStartIndex(int index)
Sets the starting point of the subset of the list.
|
public PPartialListFmt()
PInfranetServlet is called to save
the data to the database.public Object[] getSubDataArray(int fromIndex, int size)
fromIndex - the start index into the listsize - the number of sub items to be returnedpublic void setDataArray(Object[] result)
result - an array of objectspublic Object getDataArray(int index)
index - the index for the objectpublic void setDataArray(int index,
Object result)
index - the array location at which to set the objectresult - the object to place in the array at the specified locationpublic int getNoItemsLeft()
public int getStartIndex()
int value to use for the starting index.public void setStartIndex(int index)
index - the starting point in the arrayCopyright © 2003, 2023, Oracle and/or its affiliates.