|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectGirar
public class Girar
Clase que permite rotar las figuras
| Nested Class Summary | |
|---|---|
(package private) class |
Girar.MouseHandler
Metodo que monitorea las accionde del boton del mouse |
(package private) class |
Girar.MouseMotionHandler
Clase sin uso para el programa |
| Field Summary | |
|---|---|
private Circuito |
cir
|
private int |
estado
|
private static int |
INICIO_ROTACION
|
private java.awt.Point |
puntoclick
|
private static int |
SELECCION_FIGURA
|
| Constructor Summary | |
|---|---|
Girar(Circuito circ)
Costructor de la clase |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Metodo que se usa para detectar las acciones del raton al ejecutarse este metodo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Circuito cir
private int estado
private java.awt.Point puntoclick
private static final int SELECCION_FIGURA
private static final int INICIO_ROTACION
| Constructor Detail |
|---|
public Girar(Circuito circ)
circ - panel que contiene el circuito| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - parametro que es igual al evento hecha por el usuario al crearse esta clase
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||