|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.bluebones.boggle.DieIcon
public class DieIcon
Class that creates die images.
| Method Summary | |
|---|---|
static ImageIcon |
getDie(String text,
Theme theme)
Creates an image of a die. |
static ImageIcon |
getDie(String text,
Theme theme,
boolean jumbled)
Creates an image of a die. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ImageIcon getDie(String text,
Theme theme)
text - String text to appear on the die. This
should be no more than two characters.theme - Theme to use to generate the die.
public static ImageIcon getDie(String text,
Theme theme,
boolean jumbled)
text - String text to appear on the die. This
should be no more than two characters.theme - Theme to use to generate the die.jumbled - boolean, whether to randomly orient the die
(either straight, upside down, left, or right) like in
the dice game. If false, die will be
straight.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||