|
|||||||||
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.BufferedResourceList | +--com.ibm.as400.resource.SystemResourceList
The SystemResourceList class represents a subclass of of the BufferedResourceList class which retrieves list items using AS/400 System Open List Application Programming Interfaces (APIs). This class is intended to be extended and customized by subclasses.
Method Summary | |
void |
close()
Closes the list. |
protected boolean |
isBidiEnabled()
Indicates if this resource is enabled for bidirectional character conversion. |
boolean |
isResourceAvailable(long index)
Indicates if the resource is available. |
void |
open()
Opens the list. |
void |
refreshContents()
Refreshes the contents of the list. |
void |
refreshStatus()
Refreshes the status of the list. |
Resource |
resourceAt(long index)
Returns the resource specified by the index. |
void |
setSelectionValue(java.lang.Object selectionID,
java.lang.Object value,
int bidiStringType)
Sets the current value of a selection. |
void |
waitForComplete()
Waits until the list is completely loaded. |
void |
waitForResource(long index)
Waits until the resource is available or the list is complete. |
Methods inherited from class com.ibm.as400.resource.BufferedResourceList |
fireResourceAdded,
getNumberOfPages,
getPageSize,
setNumberOfPages,
setPageSize |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public void close() throws ResourceException
protected boolean isBidiEnabled()
public boolean isResourceAvailable(long index) throws ResourceException
index
- The index.public void open() throws ResourceException
public void refreshContents() throws ResourceException
This will implicitly open the list if needed.
public void refreshStatus() throws ResourceException
This method does not refresh the contents of the list. Use refreshContents() to refresh the contents of the list.
This will implicitly open the list if needed.
public Resource resourceAt(long index) throws ResourceException
This will implicitly open the list if needed.
index
- The index.public void setSelectionValue(java.lang.Object selectionID, java.lang.Object value, int bidiStringType) throws ResourceException
selectionID
- Identifies the selection.value
- The selection value, or null to remove
the selection.bidiStringType
- The bidi string type as defined by the CDRA (Character Data
Representataion Architecture). See
BidiStringType
for more information and valid values.public void waitForComplete() throws ResourceException
This will implicitly open the list if needed.
public void waitForResource(long index) throws ResourceException
This will implicitly open the list if needed.
index
- The index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |