java.lang.Object
furbelow.ComponentIcon
- All Implemented Interfaces:
Icon
Provides the contents of a
Component
in Icon form. Use this in
conjunction with ScaledIcon
to provide component thumbnails.
NOTE: Component.paintAll(java.awt.Graphics)
requires that Component.isShowing()
return true before it will paint anything.
-
Constructor Summary
ConstructorsConstructorDescriptionIconify the given component, excluding its border.ComponentIcon
(JComponent c, boolean includeBorder) Iconify the given component, indicating whether to include its border. -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
ComponentIcon
Iconify the given component, excluding its border. -
ComponentIcon
Iconify the given component, indicating whether to include its border.
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
paintIcon
-