Parts Reference
You can use the Packeting Container Details part without a
database. There are several methods you must implement to obtain the
packeting behavior.
To display the data in a packeted manner, the following methods must be
implemented:
- abtActualElements -- returns an ordered collection of the
data you display.
- abtAtEnd -- returns a boolean based on the size of the
data currently displayed and the known size of the your data.
- abtPacketEnabled -- returns a boolean as to whether the
part is enabled for packeting. Set this to true.
- at:-- returns an entry at the index passed to the
method.
- size -- returns the size of the displayed entries for your
part .
For adding and removing data you must implement the following methods as
well:
- addAll: -- for inserting data
- addAllAfterIndex: for inserting data after a supplied
index
- indexOf:
- indexOf:ifAbsent:
- removeAll:
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]