|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsynchronousLoading
This interface is used for asynchronously-loaded contents. For example, the
SvgBatikResizableIcon
uses the ExecutorService
to load the
SVG image in the background. When the image is loaded, the component that
contains this image (JCommandButton
for example) is notified to
repaint itself.
Method Summary | |
---|---|
void |
addAsynchronousLoadListener(AsynchronousLoadListener l)
Adds listener on the asynchronous loading events. |
boolean |
isLoading()
Returns indication whether the content is still loading. |
void |
removeAsynchronousLoadListener(AsynchronousLoadListener l)
Removes listener on the asynchronous loading events. |
Method Detail |
---|
void addAsynchronousLoadListener(AsynchronousLoadListener l)
l
- Listener to add.void removeAsynchronousLoadListener(AsynchronousLoadListener l)
l
- Listener to remove.boolean isLoading()
true
if the content is still loading,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |