| public interface javax.swing Icon
|
Java SE 6 |
| See also | javax.swing.ImageIcon |
| Methods | |
|---|---|
| public void | paintIcon(Component c, Graphics g, int x, int y) Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color. |
| Properties | |||
|---|---|---|---|
| public int | getIconHeight() Details
Returns the icon's height.
| ||
| public int | getIconWidth() Details
Returns the icon's width.
| ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2013 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|