|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface which provides callback methods for a table load. The correct sequence must be observed when an instance of this class is used: you must either call
orloadStarted
followed byloadSucceeded
or
You can't nest these. All these calls must be performed from the event dispatch thread.loadStarted
followed byloadFailed
.
TableLoadChooser
Method Summary | |
void |
loadFailed(Throwable th)
Called when a table load has failed for some reason. |
void |
loadStarted(String id)
Called when an attempt to load a table has been initiated. |
boolean |
loadSucceeded(StarTable table)
Called when a table has successfully been loaded. |
Method Detail |
public void loadStarted(String id)
id
- identifier for the source of the table (such as a filename)public boolean loadSucceeded(StarTable table)
table
- the table that has been acquired
public void loadFailed(Throwable th)
th
- exception describing what went wrong (may be null)
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |