org.paneris.melati.site
Class SiteServlet.Util

java.lang.Object
  extended by org.paneris.melati.site.SiteServlet.Util
Enclosing class:
SiteServlet

public static class SiteServlet.Util
extends java.lang.Object

A little something to generate alternating colours.

Author:
timp

Constructor Summary
SiteServlet.Util()
           
 
Method Summary
 java.lang.String contrastingColour(java.lang.String rgb)
          Return a contrasting colour given a colour.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteServlet.Util

public SiteServlet.Util()
Method Detail

contrastingColour

public java.lang.String contrastingColour(java.lang.String rgb)
Return a contrasting colour given a colour.

Parameters:
rgb - the colour to contrast with
Returns:
the colour string


Copyright © 1997-2008 PanEris. All Rights Reserved.