|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMover
public class Mover
Clase que permite trasladar una componente
Nested Class Summary | |
---|---|
(package private) class |
Mover.MouseHandler
Monitorea los eventos del boton del mouse |
(package private) class |
Mover.MouseMotionHandler
Metodo que hace que se ejetute el traslado de la componente selecionada dejando presionado el mouse y arrastrando esta. |
Field Summary | |
---|---|
private Circuito |
cir
|
private int |
estado
|
private static int |
INICIO_TRASLADO
|
private java.awt.Point |
previo
|
private static int |
SELECCION_FIGURA
|
Constructor Summary | |
---|---|
Mover(Circuito circu)
Creador de la clase |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Clasifica el evento despues de entrar en esta clase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Circuito cir
private java.awt.Point previo
private int estado
private static final int SELECCION_FIGURA
private static final int INICIO_TRASLADO
Constructor Detail |
---|
public Mover(Circuito circu)
circu
- Circuito en el cual se va a mover una componeteMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- 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 |