Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.contribution.visualiser.utils
Class ColorUtils

    java.lang.Object
      org.eclipse.contribution.visualiser.utils.ColorUtils

public class ColorUtils
extends java.lang.Object

Utility class which markups providers can use to get colours Could be extended to add methods like getPastelColors, getGreys, getListOfNRandomColours, etc.. (as needed)

Constructor Summary
`ColorUtils()`

Method Summary
`static java.util.List` | `getColorList()` Get the list of all defined Colors
`static Color` | `getRandomColor()` Returns a colour with random R,G and B values that are between 50 and 250 and are multiples of 5.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ColorUtils

    public ColorUtils()

Method Detail

### getColorList

    public static java.util.List getColorList()

  Get the list of all defined Colors

  Returns:
    List of Colors

### getRandomColor

    public static Color getRandomColor()

  Returns a colour with random R,G and B values that are between 50 and 250 and are multiples of 5.

  Returns:
    randomly generated Color

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD