Cytoscape 2.8.0 API

cytoscape.visual.ui.editors.discrete
Class CyColorCellRenderer.PaintIcon

java.lang.Object
  extended by cytoscape.visual.ui.editors.discrete.CyColorCellRenderer.PaintIcon
All Implemented Interfaces:
Icon
Enclosing class:
CyColorCellRenderer

public static class CyColorCellRenderer.PaintIcon
extends Object
implements Icon


Constructor Summary
CyColorCellRenderer.PaintIcon(Paint color)
           
CyColorCellRenderer.PaintIcon(Paint color, int width, int height)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyColorCellRenderer.PaintIcon

public CyColorCellRenderer.PaintIcon(Paint color)

CyColorCellRenderer.PaintIcon

public CyColorCellRenderer.PaintIcon(Paint color,
                                     int width,
                                     int height)
Method Detail

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.