public class LayoutEvents extends Object implements ActionListener, ComponentListener, MouseMotionListener, MouseListener
Constructor and Description |
---|
LayoutEvents(LayoutPanel l)
Crea un nuevo EventsHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg0) |
void |
addExceptionListener(ExceptionListener o)
Añade un listener de tipo ExceptionListener.
|
void |
componentHidden(ComponentEvent arg0) |
void |
componentMoved(ComponentEvent arg0) |
void |
componentResized(ComponentEvent arg0) |
void |
componentShown(ComponentEvent arg0) |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
boolean |
removeExceptionListener(ExceptionListener o)
Borra la ExceptioListener que se pasa como parámetro.
|
protected void |
throwException(Throwable t)
Lanza una Excepción.
|
public LayoutEvents(LayoutPanel l)
l
- Referencia al Layout.public void componentHidden(ComponentEvent arg0)
componentHidden
in interface ComponentListener
ComponentListener.componentHidden(java.awt.event.ComponentEvent)
public void componentMoved(ComponentEvent arg0)
componentMoved
in interface ComponentListener
ComponentListener.componentMoved(java.awt.event.ComponentEvent)
public void componentResized(ComponentEvent arg0)
componentResized
in interface ComponentListener
ComponentListener.componentResized(java.awt.event.ComponentEvent)
public void componentShown(ComponentEvent arg0)
componentShown
in interface ComponentListener
ComponentListener.componentShown(java.awt.event.ComponentEvent)
public void actionPerformed(ActionEvent arg0)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
MouseMotionListener.mouseDragged(java.awt.event.MouseEvent)
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
MouseMotionListener.mouseMoved(java.awt.event.MouseEvent)
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
MouseListener.mouseClicked(java.awt.event.MouseEvent)
public void addExceptionListener(ExceptionListener o)
o
- ExceptionListener.public boolean removeExceptionListener(ExceptionListener o)
o
- ExceptionListener.protected void throwException(Throwable t)
t
- Excepción.public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
MouseListener.mouseEntered(java.awt.event.MouseEvent)
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
MouseListener.mouseExited(java.awt.event.MouseEvent)
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
java.awt.event.MouseListener#mouseReleassed(java.awt.event.MouseEvent)