org.pushingpixels.flamingo.api.common
public interface AsynchronousLoading
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.Modifier and Type | Method and Description |
---|---|
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.
|
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.