frysk.gui.srcwin
Class ColorConverter

java.lang.Object
  extended by frysk.gui.srcwin.ColorConverter

public class ColorConverter
extends Object


Constructor Summary
ColorConverter()
           
 
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
 

Constructor Detail

ColorConverter

public ColorConverter()
Method Detail

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