Class ComandoMover

java.lang.Object
  extended by ComandoMover
All Implemented Interfaces:
Comando

public class ComandoMover
extends java.lang.Object
implements Comando


Field Summary
(package private)  int dx
           
(package private)  int dy
           
(package private)  Figura fig
           
 
Constructor Summary
ComandoMover(Figura fig, int dx, int dy)
           
 
Method Summary
 void desfazer(ModeloEditor modelo)
           
 void refazer(ModeloEditor modelo)
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dx

int dx

dy

int dy

fig

Figura fig
Constructor Detail

ComandoMover

public ComandoMover(Figura fig,
                    int dx,
                    int dy)
Method Detail

desfazer

public void desfazer(ModeloEditor modelo)
Specified by:
desfazer in interface Comando

refazer

public void refazer(ModeloEditor modelo)
Specified by:
refazer in interface Comando