Interface HeaderSeparatorService

All Known Implementing Classes:

public interface HeaderSeparatorService

A service for creating a colourful header separators. These are not cached so the client shoud do its own caching.


Method Summary
 byte[] getSeparator(String colorHex, String backgroundColorHex)
          Get the bytes for a separator image for the given colours.

Method Detail


byte[] getSeparator(String colorHex,
                    String backgroundColorHex)
Get the bytes for a separator image for the given colours. Allows for easy streaming.

Input strings can ontain a leading hash (#) and can be a 3 char or 6 char hex string. See any web tutorial for what colour the string represents. If hex colors are wrong, default colours are returned. Black arrow and a transparent white background.

colorHex - The main color of the separator
backgroundColorHex - The background colour of the separator. This will also be transparent. Useful for IE6
An array of bytes representing an image.

Copyright © 2002-2012 Atlassian. All Rights Reserved.