public final class Colors extends Object
| Modifier and Type | Method and Description |
|---|---|
static Color |
colorFromHexString(String hexString)
Returns a
from the given String containing the hexadecimal coding of a
color. |
public static Color colorFromHexString(String hexString)
Color from the given String containing the hexadecimal coding of a
color.hexString - contains the hexadecimal coding of a color.Color from the given String containing the hexadecimal coding of a color.NullPointerException - if the hexadecimal code is null.IllegalArgumentException - if the hexadecimal code is empty.NumberFormatException - if the hexadecimal code is empty.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.