Interface AsynchronousLoading
- All Known Implementing Classes:
DecoratedResizableIcon,IconDeckResizableIcon,IcoWrapperResizableIcon,ImageWrapperResizableIcon
public interface AsynchronousLoading
This interface is used for asynchronously-loaded contents. When the image
is loaded, the component that contains this image (
JCommandButton
for example) is notified to repaint itself.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds listener on the asynchronous loading events.booleanReturns indication whether the content is still loading.voidRemoves listener on the asynchronous loading events.
-
Method Details
-
addAsynchronousLoadListener
Adds listener on the asynchronous loading events.- Parameters:
l- Listener to add.
-
removeAsynchronousLoadListener
Removes listener on the asynchronous loading events.- Parameters:
l- Listener to remove.
-
isLoading
boolean isLoading()Returns indication whether the content is still loading.- Returns:
trueif the content is still loading,falseotherwise.
-