Package com.bc.ceres.swing.figure
Class InteractionDispatcher
- java.lang.Object
-
- com.bc.ceres.swing.figure.InteractionDispatcher
-
- All Implemented Interfaces:
KeyListener
,MouseListener
,MouseMotionListener
,EventListener
public class InteractionDispatcher extends Object implements MouseListener, MouseMotionListener, KeyListener
-
-
Constructor Summary
Constructors Constructor Description InteractionDispatcher(InteractorAware interactorAware)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
keyPressed(KeyEvent event)
void
keyReleased(KeyEvent event)
void
keyTyped(KeyEvent event)
void
mouseClicked(MouseEvent event)
void
mouseDragged(MouseEvent event)
void
mouseEntered(MouseEvent event)
void
mouseExited(MouseEvent event)
void
mouseMoved(MouseEvent event)
void
mousePressed(MouseEvent event)
void
mouseReleased(MouseEvent event)
void
registerListeners(JComponent component)
void
unregisterListeners(JComponent component)
-
-
-
Constructor Detail
-
InteractionDispatcher
public InteractionDispatcher(InteractorAware interactorAware)
-
-
Method Detail
-
registerListeners
public void registerListeners(JComponent component)
-
unregisterListeners
public void unregisterListeners(JComponent component)
-
mouseClicked
public void mouseClicked(MouseEvent event)
- Specified by:
mouseClicked
in interfaceMouseListener
-
mousePressed
public void mousePressed(MouseEvent event)
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseMoved
public void mouseMoved(MouseEvent event)
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
mouseDragged
public void mouseDragged(MouseEvent event)
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseReleased
public void mouseReleased(MouseEvent event)
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
public void mouseEntered(MouseEvent event)
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
public void mouseExited(MouseEvent event)
- Specified by:
mouseExited
in interfaceMouseListener
-
keyTyped
public void keyTyped(KeyEvent event)
- Specified by:
keyTyped
in interfaceKeyListener
-
keyPressed
public void keyPressed(KeyEvent event)
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent event)
- Specified by:
keyReleased
in interfaceKeyListener
-
-