|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.resource.ResourceList | +--com.ibm.as400.resource.ArrayResourceList
The ArrayResourceList class represents a subclass of the ResourceList class which manages a list of resources predefined as an array of Resource objects.
Constructor Summary | |
ArrayResourceList(Resource[] resources,
Presentation presentation,
ResourceMetaData[] attributeMetaData)
Constructs a ArrayResourceList object. |
Method Summary | |
void |
open()
Opens the list. |
Resource |
resourceAt(long index)
Returns the resource specified by the index. |
protected void |
setArray(Resource[] resources)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ArrayResourceList(Resource[] resources, Presentation presentation, ResourceMetaData[] attributeMetaData)
resources
- The array of Resource objects.presentation
- The presentation.attributeMetaData
- The attribute meta data, or null if not applicable.Method Detail |
public void open() throws ResourceException
public Resource resourceAt(long index) throws ResourceException
This will implicitly open the list if needed.
index
- The index.protected void setArray(Resource[] resources)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |