Package org.fife.ui.autocomplete
Class EmptyIcon
java.lang.Object
org.fife.ui.autocomplete.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
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
void
setSize
(int size) Sets the size of this icon.
-
Field Details
-
size
private int size
-
-
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.
-