Class EstadoDesenhoRet

java.lang.Object
  extended by EstadoDesenhoRet
All Implemented Interfaces:
Estado

public class EstadoDesenhoRet
extends java.lang.Object
implements Estado


Field Summary
(package private)  int altura
           
(package private)  int largura
           
(package private)  ModeloEditor modelo
           
(package private)  int x
           
(package private)  int y
           
 
Constructor Summary
EstadoDesenhoRet(ModeloEditor modelo, int x, int y)
           
 
Method Summary
 void desenhar(Canvas c)
           
 void parcial(int x, int y)
           
 void selecionar(int x, int y)
           
 void terminar(int x, int y)
           
 void toggle()
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

altura

int altura

largura

int largura

modelo

ModeloEditor modelo

x

int x

y

int y
Constructor Detail

EstadoDesenhoRet

public EstadoDesenhoRet(ModeloEditor modelo,
                        int x,
                        int y)
Method Detail

desenhar

public void desenhar(Canvas c)
Specified by:
desenhar in interface Estado

parcial

public void parcial(int x,
                    int y)
Specified by:
parcial in interface Estado

selecionar

public void selecionar(int x,
                       int y)
Specified by:
selecionar in interface Estado

terminar

public void terminar(int x,
                     int y)
Specified by:
terminar in interface Estado

toggle

public void toggle()
Specified by:
toggle in interface Estado