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 TypeMethodDescriptionvoid
Adds listener on the asynchronous loading events.boolean
Returns indication whether the content is still loading.void
Removes listener on the asynchronous loading events.Methods inherited from class org.pushingpixels.radiance.common.api.icon.RadianceIconUIResource
getIconHeight, getIconWidth, paintIcon, setColorFilter, setDimension, supportsColorFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pushingpixels.radiance.common.api.icon.RadianceIcon
toImage
-
Constructor Details
-
RadianceAsyncLoadingIconUIResource
-
-
Method Details
-
addAsynchronousLoadListener
Description copied from interface:AsynchronousLoading
Adds listener on the asynchronous loading events.- Specified by:
addAsynchronousLoadListener
in interfaceAsynchronousLoading
- Parameters:
l
- Listener to add.
-
removeAsynchronousLoadListener
Description copied from interface:AsynchronousLoading
Removes listener on the asynchronous loading events.- Specified by:
removeAsynchronousLoadListener
in interfaceAsynchronousLoading
- Parameters:
l
- Listener to remove.
-
isLoading
public boolean isLoading()Description copied from interface:AsynchronousLoading
Returns indication whether the content is still loading.- Specified by:
isLoading
in interfaceAsynchronousLoading
- Returns:
true
if the content is still loading,false
otherwise.
-