java.lang.Object
de.grogra.icon.IconImpl
- All Implemented Interfaces:
Icon
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIconImpl
(IconSource source, Icon icon) IconImpl
(IconSource source, URL url) IconImpl
(IconSource source, URL url, Image image, Rectangle bounds) -
Method Summary
Modifier and TypeMethodDescriptiongetImage()
getImage
(int w, int h) boolean
void
paintIcon
(Component c, Graphics2D g, int x, int y, int w, int h, int state) void
void
setTolerance
(int tolerance)
-
Constructor Details
-
IconImpl
-
IconImpl
-
IconImpl
-
-
Method Details
-
paintIcon
-
getIconSource
- Specified by:
getIconSource
in interfaceIcon
-
prepareIcon
public void prepareIcon()- Specified by:
prepareIcon
in interfaceIcon
-
isMutable
public boolean isMutable() -
getImage
-
getImage
-
getImageSource
- Specified by:
getImageSource
in interfaceIcon
-
getIconBounds
- Specified by:
getIconBounds
in interfaceIcon
-
setTolerance
public void setTolerance(int tolerance)
-