Package org.cytoscape.util.swing
Interface CyColorPaletteChooser
-
public interface CyColorPaletteChooserThis defines a color chooser that allows users to choose colors from a palette and (optionally) change palettes.Module:
swing-util-apiTo 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 ColorgetSelectedColor()PalettegetSelectedPalette()PaletteshowDialog(Component parent, String title, Palette initialPalette, int colorCount)ColorshowDialog(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()
-
-