|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.fontawesome.FontAwesomeIcon
public class FontAwesomeIcon extends Object
Based on original code by Mario Torre
http://icedtea.classpath.org/people/neugens/SwingUIPatterns/file/f4528c35cc0c/src/main/java/org/icedtea/ui/patterns/swing/images/FontAwesomeIcon.java
| Field Summary | |
|---|---|
private static String |
AWESOME_SET
|
private static Object |
LOCK
|
private static Font |
awesome
|
private BufferedImage |
buffer
|
private Color |
color
|
private Font |
font
|
private FontAwesome |
id
|
private int |
size
|
| Constructor Summary | |
FontAwesomeIcon(FontAwesome id)
|
|
FontAwesomeIcon(String description)
|
|
| Method Summary | |
|---|---|
Color
|
getColor()
|
int
|
getIconHeight()
|
int
|
getIconWidth()
|
int
|
getSize()
|
void
|
paintIcon(Component c, Graphics g, int x, int y)
|
void
|
setColor(Color color)
|
void
|
setSize(int size)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final String AWESOME_SET
private static final Object LOCK
private static final Font awesome
private BufferedImage buffer
private Color color
private Font font
private FontAwesome id
private int size
| Constructor Detail |
|---|
public FontAwesomeIcon(FontAwesome id)
public FontAwesomeIcon(String description)
| Method Detail |
|---|
public Color getColor()
public int getIconHeight()
public int getIconWidth()
public int getSize()
public void paintIcon(Component c, Graphics g, int x, int y)
public void setColor(Color color)
public void setSize(int size)
Groovy Documentation