Class RadianceAsyncLoadingIconUIResource
java.lang.Object
org.pushingpixels.radiance.common.api.icon.RadianceIconUIResource
org.pushingpixels.radiance.common.api.icon.RadianceAsyncLoadingIconUIResource
- All Implemented Interfaces:
Icon,UIResource,AsynchronousLoading,RadianceIcon
public class RadianceAsyncLoadingIconUIResource
extends RadianceIconUIResource
implements AsynchronousLoading
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pushingpixels.radiance.common.api.icon.RadianceIcon
RadianceIcon.ColorFilter, RadianceIcon.Factory -
Field Summary
Fields inherited from class org.pushingpixels.radiance.common.api.icon.RadianceIconUIResource
delegate -
Constructor Summary
Constructors -
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.Methods inherited from class org.pushingpixels.radiance.common.api.icon.RadianceIconUIResource
getIconHeight, getIconWidth, paintIcon, setColorFilter, setDimension, supportsColorFilterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pushingpixels.radiance.common.api.icon.RadianceIcon
toImage
-
Constructor Details
-
RadianceAsyncLoadingIconUIResource
-
-
Method Details
-
addAsynchronousLoadListener
Description copied from interface:AsynchronousLoadingAdds listener on the asynchronous loading events.- Specified by:
addAsynchronousLoadListenerin interfaceAsynchronousLoading- Parameters:
l- Listener to add.
-
removeAsynchronousLoadListener
Description copied from interface:AsynchronousLoadingRemoves listener on the asynchronous loading events.- Specified by:
removeAsynchronousLoadListenerin interfaceAsynchronousLoading- Parameters:
l- Listener to remove.
-
isLoading
public boolean isLoading()Description copied from interface:AsynchronousLoadingReturns indication whether the content is still loading.- Specified by:
isLoadingin interfaceAsynchronousLoading- Returns:
trueif the content is still loading,falseotherwise.
-