br.usp.iterador.gui
Interface PulgaCanvas

All Known Implementing Classes:
SimpleIteratorCanvas

public interface PulgaCanvas


Method Summary
 void addShape(PulgaRectangle rectangle)
          Adds a shape
 void changeSize(int w, int h)
           
 void clear()
          Clears the background image and asks for repaint
 void clearShapes()
          Removes all shapes.
 void repaint()
           
 void setMaxUnitIncrement(int pixels)
           
 void update(PluginManager manager)
          Updates the image
 

Method Detail

addShape

void addShape(PulgaRectangle rectangle)
Adds a shape

Parameters:
rectangle - shape

changeSize

void changeSize(int w,
                int h)

clear

void clear()
Clears the background image and asks for repaint


setMaxUnitIncrement

void setMaxUnitIncrement(int pixels)

update

void update(PluginManager manager)
            throws CompileTimeException
Updates the image

Throws:
CompileTimeException

clearShapes

void clearShapes()
Removes all shapes.


repaint

void repaint()


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