public class HasContentIcon
extends java.lang.Object
implements javax.swing.Icon
Modifier and Type | Method and 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.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
public static javax.swing.Icon getIcon(boolean hasContent)
hasContent
- state flagCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.