public interface PaletteProvider
Modifier and Type | Method and Description |
---|---|
Palette |
getPalette(Object paletteIdentifier)
Get a palette by its internal identifier
|
Palette |
getPalette(Object paletteIdentifier,
int size)
Get a palette by its internal identifier
|
Palette |
getPalette(String paletteName)
Get a palette by its name
|
Palette |
getPalette(String paletteName,
int size)
Get a palette of the specified size by its name
|
List<PaletteType> |
getPaletteTypes()
Return the list of
org.cytoscape.util.color.Palette.PaletteType s
supported by this provider |
String |
getProviderName()
Return the human-readable string identifier for this PaletteProvider.
|
List<Object> |
listPaletteIdentifiers(PaletteType type,
boolean colorBlindSafe)
List all of the palettes available from this provider, optionally restricted by
the palette type and whether or not the palette is color blind safe.
|
List<String> |
listPaletteNames(PaletteType type,
boolean colorBlindSafe)
List all of the palettes available from this provider, optionally restricted by
the palette type and whether or not the palette is color blind safe.
|
String getProviderName()
List<PaletteType> getPaletteTypes()
org.cytoscape.util.color.Palette.PaletteType
s
supported by this providerList<String> listPaletteNames(PaletteType type, boolean colorBlindSafe)
type
- the PaletteType to restrct the list tocolorBlindSafe
- if this provider distinguishes between color blind safe palettes or notList<Object> listPaletteIdentifiers(PaletteType type, boolean colorBlindSafe)
type
- the PaletteType to restrct the list tocolorBlindSafe
- if this provider distinguishes between color blind safe palettes or notPalette getPalette(String paletteName)
paletteName
- the name of the palette to returnPalette getPalette(String paletteName, int size)
paletteName
- the name of the palette to returnsize
- the number of colors in the palettePalette getPalette(Object paletteIdentifier)
paletteIdentifier
- the identifier of the palette to returnCopyright 2011-2015 Cytoscape Consortium. All rights reserved.