Package com.nomagic.ui
Class ResizableIconImageIcon.ResizableIconLoader
- java.lang.Object
-
- com.nomagic.ui.ScalableImageIcon.AbstractImageLoader
-
- com.nomagic.ui.ResizableIconImageIcon.ResizableIconLoader
-
- Direct Known Subclasses:
SquareIcon.ScaledIconLoader
- Enclosing class:
- ResizableIconImageIcon
class ResizableIconImageIcon.ResizableIconLoader extends ScalableImageIcon.AbstractImageLoader
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
iconHeight
(package private) int
iconWidth
(package private) ResizableIcon
resizableIcon
-
Fields inherited from class com.nomagic.ui.ScalableImageIcon.AbstractImageLoader
icon, silent
-
-
Constructor Summary
Constructors Constructor Description ResizableIconLoader(ResizableIcon resizableIcon)
ResizableIconLoader(ResizableIcon icon, boolean silent, int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getTransformedHeight(int actualHeight)
protected int
getTransformedWidth(int actualWidth)
protected void
internalLoad()
(package private) boolean
isIconTransformed(javax.swing.Icon icon, int width, int height)
-
Methods inherited from class com.nomagic.ui.ScalableImageIcon.AbstractImageLoader
getIcon, init, load, loadImage
-
-
-
-
Field Detail
-
resizableIcon
ResizableIcon resizableIcon
-
iconWidth
int iconWidth
-
iconHeight
int iconHeight
-
-
Constructor Detail
-
ResizableIconLoader
public ResizableIconLoader(ResizableIcon resizableIcon)
-
ResizableIconLoader
ResizableIconLoader(ResizableIcon icon, boolean silent, int width, int height)
-
-
Method Detail
-
isIconTransformed
boolean isIconTransformed(javax.swing.Icon icon, int width, int height)
-
internalLoad
protected void internalLoad()
- Specified by:
internalLoad
in classScalableImageIcon.AbstractImageLoader
-
getTransformedWidth
protected int getTransformedWidth(int actualWidth)
-
getTransformedHeight
protected int getTransformedHeight(int actualHeight)
-
-