public class DropDownResource extends Object
Constructor and Description |
---|
DropDownResource(DropDownCreatorService dropDownCreatorService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getImage(String colorHex,
String backgroundColorHex)
Retrieve a dropdown arrow for the passed in color.
|
javax.ws.rs.core.Response |
getImageFromPath(String colorHex,
String backgroundColorHex)
Same as the /dropdowns?color&bgcolor url, but the colours are specified in the path not the query string.
|
public DropDownResource(DropDownCreatorService dropDownCreatorService)
public javax.ws.rs.core.Response getImage(String colorHex, String backgroundColorHex)
colorHex
- The main color of the dropdownbackgroundColorHex
- Thebackground colour of the dropdown. This will also be transparent. Useful for IE6Copyright © 2002-2015 Atlassian. All Rights Reserved.