java.lang.Object
de.grogra.icon.IconImpl
- All Implemented Interfaces:
Icon
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionIconImpl(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) booleanvoidpaintIcon(Component c, Graphics2D g, int x, int y, int w, int h, int state) voidvoidsetTolerance(int tolerance)
-
Constructor Details
-
IconImpl
-
IconImpl
-
IconImpl
-
-
Method Details
-
paintIcon
-
getIconSource
- Specified by:
getIconSourcein interfaceIcon
-
prepareIcon
public void prepareIcon()- Specified by:
prepareIconin interfaceIcon
-
isMutable
public boolean isMutable() -
getImage
-
getImage
-
getImageSource
- Specified by:
getImageSourcein interfaceIcon
-
getIconBounds
- Specified by:
getIconBoundsin interfaceIcon
-
setTolerance
public void setTolerance(int tolerance)
-