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) inticonHeight(package private) inticonWidth(package private) ResizableIconresizableIcon-
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 intgetTransformedHeight(int actualHeight)protected intgetTransformedWidth(int actualWidth)protected voidinternalLoad()(package private) booleanisIconTransformed(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:
internalLoadin classScalableImageIcon.AbstractImageLoader
-
getTransformedWidth
protected int getTransformedWidth(int actualWidth)
-
getTransformedHeight
protected int getTransformedHeight(int actualHeight)
-
-