MATES 3.0-rc2

org.mates.plugins
Class DistributionPainter

java.lang.Object
  extended byorg.mates.plugins.DistributionPainter

public class DistributionPainter
extends java.lang.Object

A class for automating the painting of distributions. This class is primarily used as a screenshot_provider callback for Screenshot.saveScreenshot(Object, int, int, java.io.File).

Author:
Evan Sultanik

Constructor Summary
DistributionPainter(java.io.File file, int width, int height, int[] degdist)
          Constructs a new distribution painter.
 
Method Summary
 void paint(java.awt.Graphics g)
          Paints the distribution to a graphics object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributionPainter

public DistributionPainter(java.io.File file,
                           int width,
                           int height,
                           int[] degdist)
Constructs a new distribution painter.

Method Detail

paint

public void paint(java.awt.Graphics g)
Paints the distribution to a graphics object. This function is simply a driver for StatisticsPlugin.paintDistribution(java.awt.Graphics, int, int, int[]).


MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik