br.usp.iterador.plugin.bacia.average
Class AverageCanvasDrawer

java.lang.Object
  extended by br.usp.iterador.plugin.bacia.average.AverageCanvasDrawer

 class AverageCanvasDrawer
extends java.lang.Object

Draws the average canvas.

Author:
Guilherme Silveira

Constructor Summary
AverageCanvasDrawer(AveragesInfo info, int w, int h, GUIHelper helper, BasinController controller)
           
 
Method Summary
 void drawCurrentPolygon(java.awt.Graphics2D g)
          Draws the current polygon if any should be draw
 void drawOldPolygons(java.awt.Graphics2D g, java.util.ArrayList<Cloud> clouds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageCanvasDrawer

public AverageCanvasDrawer(AveragesInfo info,
                           int w,
                           int h,
                           GUIHelper helper,
                           BasinController controller)
Method Detail

drawOldPolygons

public void drawOldPolygons(java.awt.Graphics2D g,
                            java.util.ArrayList<Cloud> clouds)

drawCurrentPolygon

public void drawCurrentPolygon(java.awt.Graphics2D g)
Draws the current polygon if any should be draw

Parameters:
g -


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.