com.rapidminer.gui.plotter
Class PlotterAdapter.LineColorIcon

java.lang.Object
  extended by com.rapidminer.gui.plotter.PlotterAdapter.LineColorIcon
All Implemented Interfaces:
javax.swing.Icon
Enclosing class:
PlotterAdapter

protected static class PlotterAdapter.LineColorIcon
extends java.lang.Object
implements javax.swing.Icon

This icon is displayed before the columns to indicate the color and line style (as a legend or key).


Constructor Summary
PlotterAdapter.LineColorIcon(java.awt.Color color)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component c, java.awt.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

PlotterAdapter.LineColorIcon

public PlotterAdapter.LineColorIcon(java.awt.Color color)
Method Detail

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon


Copyright © 2001-2009 by Rapid-I