|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.tools.ColorHelper
public class ColorHelper
Helper to convert from color to html string and back
Constructor Summary | |
---|---|
ColorHelper()
|
Method Summary | |
---|---|
static java.lang.String |
color2html(java.awt.Color col)
|
static java.awt.Color |
html2color(java.lang.String html)
|
private static java.lang.String |
int2hex(int i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorHelper()
Method Detail |
---|
public static java.awt.Color html2color(java.lang.String html)
private static java.lang.String int2hex(int i)
public static java.lang.String color2html(java.awt.Color col)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |