Package com.nomagic.ui
Class ScalableImageIcon.ImageLoader
- java.lang.Object
-
- com.nomagic.ui.ScalableImageIcon.AbstractImageLoader
-
- com.nomagic.ui.ScalableImageIcon.ImageLoader
-
- Direct Known Subclasses:
ScalableImageIcon.MultiResolutionImageLoader
- Enclosing class:
- ScalableImageIcon
private class ScalableImageIcon.ImageLoader extends ScalableImageIcon.AbstractImageLoader
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.net.URL
url
-
Fields inherited from class com.nomagic.ui.ScalableImageIcon.AbstractImageLoader
icon, silent
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ImageLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(boolean silent)
ScalableImageIcon.ImageLoader
init(java.lang.Class clazz, java.lang.String location, boolean silent)
ScalableImageIcon.ImageLoader
init(java.net.URL url, boolean silent)
protected void
internalLoad()
protected void
internalLoadAsBitmap()
protected void
internalLoadAsSVG()
protected boolean
isSvg(java.lang.String uri)
protected ScalableImageIcon
loadBitmapIcon(java.net.URL url)
protected com.nomagic.imageio.svg.SVGIconProxy
loadSVGIcon(java.net.URI uri, java.io.InputStream stream)
protected com.nomagic.imageio.svg.SVGIconProxy
loadSVGIcon(java.net.URL u)
-
Methods inherited from class com.nomagic.ui.ScalableImageIcon.AbstractImageLoader
getIcon, load, loadImage
-
-
-
-
Method Detail
-
init
public void init(boolean silent)
- Overrides:
init
in classScalableImageIcon.AbstractImageLoader
-
init
public ScalableImageIcon.ImageLoader init(java.lang.Class clazz, java.lang.String location, boolean silent)
-
init
public ScalableImageIcon.ImageLoader init(@CheckForNull java.net.URL url, boolean silent)
-
loadBitmapIcon
@CheckForNull protected final ScalableImageIcon loadBitmapIcon(java.net.URL url)
-
isSvg
protected final boolean isSvg(java.lang.String uri)
-
loadSVGIcon
@CheckForNull protected final com.nomagic.imageio.svg.SVGIconProxy loadSVGIcon(@CheckForNull java.net.URL u)
-
loadSVGIcon
@CheckForNull protected final com.nomagic.imageio.svg.SVGIconProxy loadSVGIcon(java.net.URI uri, @CheckForNull java.io.InputStream stream)
-
internalLoadAsSVG
protected final void internalLoadAsSVG()
-
internalLoadAsBitmap
protected final void internalLoadAsBitmap()
-
internalLoad
protected void internalLoad()
- Specified by:
internalLoad
in classScalableImageIcon.AbstractImageLoader
-
-