Package resources.icons
Class ScaledImageIconWrapper
- java.lang.Object
- 
- javax.swing.ImageIcon
- 
- resources.icons.ImageIconWrapper
- 
- resources.icons.ScaledImageIconWrapper
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- javax.accessibility.Accessible,- javax.swing.Icon,- FileBasedIcon
 
 public class ScaledImageIconWrapper extends ImageIconWrapper - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ScaledImageIconWrapper(javax.swing.Icon baseIcon, int width, int height)Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size.ScaledImageIconWrapper(javax.swing.Icon baseIcon, int width, int height, int hints)Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.ImageIconcreateImageIcon()- 
Methods inherited from class resources.icons.ImageIconWrappercreateIconBaseImage, getAccessibleContext, getDescription, getFilename, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageName, getImageObserver, paintIcon, setDescription, setImage, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ScaledImageIconWrapperpublic ScaledImageIconWrapper(javax.swing.Icon baseIcon, int width, int height)Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size. The rendering hints ofImage.SCALE_AREA_AVERAGINGwill be applied.- Parameters:
- baseIcon- base icon
- width- new icon width
- height- new icon height
 
 - 
ScaledImageIconWrapperpublic ScaledImageIconWrapper(javax.swing.Icon baseIcon, int width, int height, int hints)Construct wrapped scaled ImageIcon based upon specified baseIcon and desired size- Parameters:
- baseIcon- base icon
- width- new icon width
- height- new icon height
- hints-- RenderingHintsused by- Graphics2D
 
 
- 
 - 
Method Detail- 
createImageIconprotected javax.swing.ImageIcon createImageIcon() - Overrides:
- createImageIconin class- ImageIconWrapper
 
 
- 
 
-