java.lang.Object
de.grogra.pf.ui.autocomplete.impl.EmptyIcon
- All Implemented Interfaces:
Serializable,Icon
A standard icon that doesn't paint anything. This can be used when some
Completions have icons and others don't, to visually align the
text of all completions.- Version:
- 1.0
- Author:
- Robert Futrell
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidvoidsetSize(int size) Sets the size of this icon.
-
Constructor Details
-
EmptyIcon
public EmptyIcon(int size)
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
paintIcon
-
setSize
public void setSize(int size) Sets the size of this icon. The parent container will likely need to be revalidated if this is called after the UI is displayed.- Parameters:
size- The new icon size.
-