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 ComponentListenerComponentListener.componentHidden(java.awt.event.ComponentEvent)public void componentMoved(ComponentEvent arg0)
componentMoved in interface ComponentListenerComponentListener.componentMoved(java.awt.event.ComponentEvent)public void componentResized(ComponentEvent arg0)
componentResized in interface ComponentListenerComponentListener.componentResized(java.awt.event.ComponentEvent)public void componentShown(ComponentEvent arg0)
componentShown in interface ComponentListenerComponentListener.componentShown(java.awt.event.ComponentEvent)public void actionPerformed(ActionEvent arg0)
actionPerformed in interface ActionListenerActionListener.actionPerformed(java.awt.event.ActionEvent)public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerMouseMotionListener.mouseDragged(java.awt.event.MouseEvent)public void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerMouseMotionListener.mouseMoved(java.awt.event.MouseEvent)public void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerMouseListener.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 MouseListenerMouseListener.mouseEntered(java.awt.event.MouseEvent)public void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerMouseListener.mouseExited(java.awt.event.MouseEvent)public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerMouseListener.mousePressed(java.awt.event.MouseEvent)public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerjava.awt.event.MouseListener#mouseReleassed(java.awt.event.MouseEvent)