Uses of Interface
org.cytoscape.util.color.Palette
Package
Description
This package contains misc helper classes for Cytoscape Desktop application.
-
Uses of Palette in org.cytoscape.util.color
Modifier and TypeMethodDescriptionPaletteProvider.getPalette
(Object paletteIdentifier) Get a palette by its internal identifierPaletteProvider.getPalette
(Object paletteIdentifier, int size) Get a palette by its internal identifierPaletteProvider.getPalette
(String paletteName) Get a palette by its namePaletteProvider.getPalette
(String paletteName, int size) Get a palette of the specified size by its namePaletteProviderManager.retrievePalette
(Object key) Retrieve a palette previously savedModifier and TypeMethodDescriptionvoid
PaletteProviderManager.savePalette
(Object key, Palette palette) Save a palette. -
Uses of Palette in org.cytoscape.util.swing
Modifier and TypeMethodDescriptionColorButton.getPalette()
CyColorPaletteChooser.getSelectedPalette()
Return thePalette
the user selected.CyColorPaletteChooser.showDialog
(Component parent, String title, Palette initialPalette, int colorCount) Display the chooser and return thePalette
the user chooses--in case no palette is selected or the action is cancelled, the return will benull
.Modifier and TypeMethodDescriptionvoid
ColorButton.setPalette
(Palette palette) Sets a new color Palette and fires aPropertyChangeEvent
for the property "palette".CyColorPaletteChooser.showDialog
(Component parent, String title, Palette initialPalette, int colorCount) Display the chooser and return thePalette
the user chooses--in case no palette is selected or the action is cancelled, the return will benull
.CyColorPaletteChooser.showDialog
(Component parent, String title, Palette initialPalette, Color initialColor, int colorCount) Display the chooser and return theColor
the user chooses--in case no color is selected or the action is cancelled, the return will benull
.ModifierConstructorDescriptionColorButton
(CyServiceRegistrar serviceRegistrar, Palette palette, PaletteType type, Color color, boolean paletteOnly) The basic constructor for a color button with palettes.