| Constructor and Description |
|---|
ScaledImageIcon(Icon icon,
int maxW,
int maxH) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
Image |
getImage() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public ScaledImageIcon(Icon icon, int maxW, int maxH)
icon - maxW - if 0 then it is ignoredmaxH - if 0 then it is ignoredpublic int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Iconpublic Image getImage()
Copyright © 1999–2025 ViaOA. All rights reserved.