Class RadianceAsyncLoadingIconUIResource
- java.lang.Object
-
- org.pushingpixels.radiance.common.api.icon.RadianceIconUIResource
-
- org.pushingpixels.radiance.common.api.icon.RadianceAsyncLoadingIconUIResource
-
- All Implemented Interfaces:
javax.swing.Icon
,javax.swing.plaf.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 Constructor Description RadianceAsyncLoadingIconUIResource(RadianceIcon delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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 Detail
-
RadianceAsyncLoadingIconUIResource
public RadianceAsyncLoadingIconUIResource(RadianceIcon delegate)
-
-
Method Detail
-
addAsynchronousLoadListener
public void addAsynchronousLoadListener(AsynchronousLoadListener l)
Description copied from interface:AsynchronousLoading
Adds listener on the asynchronous loading events.- Specified by:
addAsynchronousLoadListener
in interfaceAsynchronousLoading
- Parameters:
l
- Listener to add.
-
removeAsynchronousLoadListener
public void removeAsynchronousLoadListener(AsynchronousLoadListener l)
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.
-
-