|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.validationframework.swing.utils.ColorUtils
public final class ColorUtils
Utility class dealing with colors.
| Method Summary | |
|---|---|
static Color |
alphaBlend(Color src,
Color dst)
Blends the two colors taking into account their alpha. If one of the two input colors implements the UIResource interface, the result color will also implement this interface. |
static String |
toString(Color c)
Convenience to get a more readable string representation of a Color object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Color alphaBlend(Color src,
Color dst)
UIResource interface, the result color will also implement this interface.
src - Source color to be blended into the destination color.dst - Destination color on which the source color is to be blended.
public static String toString(Color c)
c - Color to get the string representation for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||