Package org.cytoscape.util.swing
Interface CyColorPaletteChooser
-
public interface CyColorPaletteChooser
This defines a color chooser that allows users to choose colors from a palette and (optionally) change palettes.Module:
swing-util-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-util-api</artifactId> </dependency>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Color
getSelectedColor()
Palette
getSelectedPalette()
Palette
showDialog(Component parent, String title, Palette initialPalette, int colorCount)
Color
showDialog(Component parent, String title, Palette initialPalette, Color initialColor, int colorCount)
-
-
-
Method Detail
-
showDialog
Color showDialog(Component parent, String title, Palette initialPalette, Color initialColor, int colorCount)
-
showDialog
Palette showDialog(Component parent, String title, Palette initialPalette, int colorCount)
-
getSelectedColor
Color getSelectedColor()
-
getSelectedPalette
Palette getSelectedPalette()
-
-