com.atlassian.jira.util
Class Colours

java.lang.Object
  extended by com.atlassian.jira.util.Colours

public class Colours
extends Object

Contains static utility methods pertaining to colour values.

Since:
v5.2

Constructor Summary
Colours()
           
 
Method Summary
static boolean isHexColour(String input)
          Determines whether the input string is a valid hex encoded colour value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Colours

public Colours()
Method Detail

isHexColour

public static boolean isHexColour(String input)
Determines whether the input string is a valid hex encoded colour value.

See CSS Color Module for the details on how a valid value is determined.

Parameters:
input - The input string to be tested.
Returns:
true if the input string is a valid hex encoded colour value. Otherwise, false.


Copyright © 2002-2014 Atlassian. All Rights Reserved.