org.openbp.common.icon
Interface MultiIcon
- All Superinterfaces:
- FlexibleSize, javax.swing.Icon
- All Known Implementing Classes:
- MultiImageIcon, OverlayIcon
public interface MultiIcon
- extends javax.swing.Icon, FlexibleSize
Icon that supports multiple sizes.
- Author:
- Stephan Moritz
|
Method Summary |
javax.swing.Icon |
getIcon(int size)
Returns an icon with the given size. |
java.awt.Image |
getImage()
Returns an image representation of this icon in the currently active size. |
| Methods inherited from interface javax.swing.Icon |
getIconHeight, getIconWidth, paintIcon |
getIcon
javax.swing.Icon getIcon(int size)
- Returns an icon with the given size.
- Parameters:
size - The icon size descriptor (FlexibleSize.STANDARD/FlexibleSize.SMALL/
FlexibleSize.MEDIUM/FlexibleSize.LARGE/FlexibleSize.HUGE) or null for the
default size
- Returns:
- The icon
getImage
java.awt.Image getImage()
- Returns an image representation of this icon in the currently active size.
Copyright © 2011. All Rights Reserved.