javax.swing.Iconpublic class HasContentIcon
extends java.lang.Object
implements javax.swing.Icon
| Modifier and Type | Method | Description |
|---|---|---|
static javax.swing.Icon |
getIcon(boolean hasContent) |
Returns an instance of this icon.
|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Iconpublic static javax.swing.Icon getIcon(boolean hasContent)
hasContent - state flagCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.