br.usp.iterador.plugin.bacia
Class BasinExecutorListener

java.lang.Object
  extended by br.usp.iterador.plugin.bacia.BasinExecutorListener
All Implemented Interfaces:
UniverseIteratorExecutorListener

public class BasinExecutorListener
extends java.lang.Object
implements UniverseIteratorExecutorListener

Executes the basin plugin algorithm.

Author:
Guilherme Silveira

Constructor Summary
BasinExecutorListener(Basin basin, Application app, java.awt.Graphics2D graphics, BasinController controller)
           
 
Method Summary
 void doPoint(double leftX, double leftY, double rightX, double rightY, int ypos, int xpos, int stepY, int stepX, int correctX, int correctY)
           
 void finish()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasinExecutorListener

public BasinExecutorListener(Basin basin,
                             Application app,
                             java.awt.Graphics2D graphics,
                             BasinController controller)
                      throws CompileTimeException
Throws:
CompileTimeException
Method Detail

init

public void init()
Specified by:
init in interface UniverseIteratorExecutorListener

doPoint

public void doPoint(double leftX,
                    double leftY,
                    double rightX,
                    double rightY,
                    int ypos,
                    int xpos,
                    int stepY,
                    int stepX,
                    int correctX,
                    int correctY)
Specified by:
doPoint in interface UniverseIteratorExecutorListener
Parameters:
step - o numero de passos entre blocos
stepX -

finish

public void finish()
Specified by:
finish in interface UniverseIteratorExecutorListener


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