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
Completion
s have icons and others don't, to visually align the
text of all completions.- Version:
- 1.0
- Author:
- Robert Futrell
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
void
setSize
(int size) Sets the size of this icon.
-
Constructor Details
-
EmptyIcon
public EmptyIcon(int size)
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in 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.
-