Cytoscape 2.8.0 API

cytoscape.util
Class CyColorChooser

java.lang.Object
  extended by cytoscape.util.CyColorChooser

public class CyColorChooser
extends Object

This is an annoying re-implementation of JColorChooser.showDialog() that remembers recently used colors between invocations of the chooser dialog.


Field Summary
protected static JColorChooser chooser
           
protected static Color color
           
protected static cytoscape.util.CyColorChooser.ColorListener listener
           
 
Constructor Summary
CyColorChooser()
           
 
Method Summary
static Color showDialog(Component component, String title, Color initialColor)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chooser

protected static JColorChooser chooser

listener

protected static cytoscape.util.CyColorChooser.ColorListener listener

color

protected static Color color
Constructor Detail

CyColorChooser

public CyColorChooser()
Method Detail

showDialog

public static Color showDialog(Component component,
                               String title,
                               Color initialColor)
DOCUMENT ME!

Parameters:
component - DOCUMENT ME!
title - DOCUMENT ME!
initialColor - DOCUMENT ME!
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.