|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.turtlekit2.ui.utils.DefaultIcons
public class DefaultIcons
Simple static class to generate Icons.
Constructor Summary | |
---|---|
DefaultIcons()
|
Method Summary | |
---|---|
static Icon |
getCrossIcon(int ICON_SIZE,
Color color,
Color backgroundColor)
Returns a cross icon |
static Icon |
getRoundIcon(int ICON_SIZE,
Color color,
Color backgroundColor)
Returns a round icon |
static Icon |
getSquareIcon(int ICON_SIZE,
Color color,
Color backgroundColor)
Returns a square icon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIcons()
Method Detail |
---|
public static final Icon getSquareIcon(int ICON_SIZE, Color color, Color backgroundColor)
color
- - the color of the icon
public static final Icon getRoundIcon(int ICON_SIZE, Color color, Color backgroundColor)
color
- - the color of the icon
public static final Icon getCrossIcon(int ICON_SIZE, Color color, Color backgroundColor)
color
- - the color of the icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |