Class EstadoDesenhoCirc
java.lang.Object
EstadoDesenhoCirc
- All Implemented Interfaces:
- Estado
public class EstadoDesenhoCirc
- extends java.lang.Object
- implements Estado
Field Summary |
(package private) ModeloEditor |
modelo
|
(package private) int |
raio
|
(package private) int |
x
|
(package private) int |
y
|
Methods inherited from class |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelo
ModeloEditor modelo
raio
int raio
x
int x
y
int y
EstadoDesenhoCirc
public EstadoDesenhoCirc(ModeloEditor modelo,
int x,
int y)
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