Class Borrar

java.lang.Object
  extended by Borrar
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class Borrar
extends java.lang.Object
implements java.awt.event.ActionListener

Clase que permite borrar una componente


Nested Class Summary
(package private)  class Borrar.MouseHandler
          Metodo que monitorea las accionde del boton del mouse
(package private)  class Borrar.MouseMotionHandler
          Clase sin uso para el programa
 
Field Summary
private  Circuito cir
           
private  int estado
           
private static int INICIO_BORRAR
           
private  java.awt.Point puntoclick
           
private static int SELECCION_FIGURA
           
 
Constructor Summary
Borrar(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

cir

private Circuito cir

estado

private int estado

puntoclick

private java.awt.Point puntoclick

SELECCION_FIGURA

private static final int SELECCION_FIGURA
See Also:
Constant Field Values

INICIO_BORRAR

private static final int INICIO_BORRAR
See Also:
Constant Field Values
Constructor Detail

Borrar

public Borrar(Circuito circ)
Costructor de la clase

Parameters:
circ - panel que contiene el circuito
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Metodo que se usa para detectar las acciones del raton al ejecutarse este metodo

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - parametro que es igual al evento hecha por el usuario al crearse esta clase