|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SpectrumIO.Watch
Interface for objects that wish to be informed about the result of spectrum load attempts performed by addSpectra(). One or other of the methods will be called for each load attempt.
Method Summary | |
---|---|
void |
loadFailed(SpectrumIO.Props props,
Throwable error)
Reports that a load attempt for the given props failed. |
void |
loadSucceeded(SpectrumIO.Props props)
Reports that a spectrum with given props was successfully loaded. |
Method Detail |
---|
void loadSucceeded(SpectrumIO.Props props)
props
- props object giving spectrum characteristicsvoid loadFailed(SpectrumIO.Props props, Throwable error)
props
- props object giving spectrum characteristicserror
- exception resulting from load attempt
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |