|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.util.swing.CyColorChooser
public final class CyColorChooser
This is an annoying re-implementation of JColorChooser.showDialog() that remembers recently used colors between invocations of the chooser dialog.
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 | |
---|---|
static Color |
showDialog(Component parent,
String title,
Color initialColor)
Display custom color chooser dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Color showDialog(Component parent, String title, Color initialColor)
parent
- parent component of this dialogtitle
- Title of this dialoginitialColor
- Initially selected color.
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |