Class EstadoMovendo

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

public class EstadoMovendo
extends java.lang.Object
implements Estado


Field Summary
(package private)  Figura f
           
(package private)  ModeloEditor modelo
           
(package private)  int x
           
(package private)  int x0
           
(package private)  int y
           
(package private)  int y0
           
 
Constructor Summary
EstadoMovendo(ModeloEditor modelo, Figura f, 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

f

Figura f

modelo

ModeloEditor modelo

x

int x

x0

int x0

y

int y

y0

int y0
Constructor Detail

EstadoMovendo

public EstadoMovendo(ModeloEditor modelo,
                     Figura f,
                     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