Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.common.swing
Class GuiConvert

    java.lang.Object
      org.crosswire.common.swing.GuiConvert

    public final class GuiConvert

extends Object

Conversions between various types and Strings.

Author:
  Joe Walker [joe at eireneh dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Field Summary
`private static 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 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

### log

    private static final Logger log

  The log stream

Constructor Detail

### GuiConvert

    private GuiConvert()

  We don't want anyone doing this ...

Method Detail

### string2Font

    public static Font string2Font(String value)

  Convert a String to a Font

  Parameters:
    `value` - the thing to convert
  Returns:
    the converted data

### font2String

    public static String font2String(Font font)

  Convert a Font to a String

  Parameters:
    `font` - the thing to convert
  Returns:
    the converted data

### string2Color

    public static Color string2Color(String value)

  Convert a String to a Color

  Parameters:
    `value` - the thing to convert
  Returns:
    the converted data

### color2String

    public static String color2String(Color color)

  Convert a Color to a String

  Parameters:
    `color` - the thing to convert
  Returns:
    the converted data

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2007
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD