frysk.gui.srcwin
Class ColorConverter
java.lang.Object
frysk.gui.srcwin.ColorConverter
public class ColorConverter
- extends Object
Method Summary |
static String |
colorToHexString(org.gnu.gdk.Color c)
Takes the given color and returns the hex string that represents it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorConverter
public ColorConverter()
colorToHexString
public static String colorToHexString(org.gnu.gdk.Color c)
- Takes the given color and returns the hex string that represents it.
The returned string is of the format understood by TextBuffer for applying to
TextTags.
- Parameters:
c
- The color to convert
- Returns:
- The hex string representing the color