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 voidaddAsynchronousLoadListener(AsynchronousLoadListener l)Adds listener on the asynchronous loading events.booleanisLoading()Returns indication whether the content is still loading.voidremoveAsynchronousLoadListener(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:AsynchronousLoadingAdds listener on the asynchronous loading events.- Specified by:
addAsynchronousLoadListenerin interfaceAsynchronousLoading- Parameters:
l- Listener to add.
-
removeAsynchronousLoadListener
public void removeAsynchronousLoadListener(AsynchronousLoadListener l)
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.
-
-