|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.swing.GuiConvert
public final class GuiConvert
Conversions between various types and Strings.
The GNU General Public License for details.| Field Summary | |
|---|---|
private static org.slf4j.Logger |
log
The log stream |
| Constructor Summary | |
|---|---|
private |
GuiConvert()
We don't want anyone doing this ... |
| Method Summary | |
|---|---|
static String |
color2String(Color color)
Convert a Color to a String |
static Font |
deriveFont(String fontspec,
String fontName)
Create a font just like the another with regard to style and size, but differing in font family. |
static String |
font2String(Font font)
Convert a Font to a String. |
static Color |
string2Color(String value)
Convert a String to a Color |
static Font |
string2Font(String value)
Convert a String to a Font. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.slf4j.Logger log
| Constructor Detail |
|---|
private GuiConvert()
| Method Detail |
|---|
public static Font string2Font(String value)
value - the thing to convert
public static String font2String(Font font)
Font.decode(String).
font - the thing to convert
public static Font deriveFont(String fontspec,
String fontName)
fontspec - the font to modelfontName - the font to use
public static Color string2Color(String value)
value - the thing to convert
public static String color2String(Color color)
color - the thing to convert
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||