public class EmptyIcon
extends java.lang.Object
implements javax.swing.Icon, java.io.Serializable
Completions have icons and others don't, to visually align the
text of all completions.| Constructor and Description |
|---|
EmptyIcon(int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Icon