public class FontAwesomeIcon extends Object implements Icon
Constructor and Description |
---|
FontAwesomeIcon() |
FontAwesomeIcon(FontAwesome fontAwesome) |
FontAwesomeIcon(String description) |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
FontAwesome |
getFontAwesome() |
int |
getIconHeight() |
int |
getIconWidth() |
int |
getSize() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setColor(Color color) |
void |
setFontAwesome(FontAwesome fontAwesome) |
void |
setFontAwesome(String description) |
void |
setSize(int size) |
public FontAwesomeIcon()
public FontAwesomeIcon(@Nonnull FontAwesome fontAwesome)
@Nonnull public FontAwesome getFontAwesome()
public void setFontAwesome(@Nonnull FontAwesome fontAwesome)
public int getSize()
public void setSize(int size)
public int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon