1 package org.catacomb.druid.swing; 2 3 import org.catacomb.interlish.structure.MouseActor; 4 5 import java.awt.event.MouseEvent; 6 import java.awt.event.MouseListener; 7 8 9 public class DMouseRelay implements MouseListener { 10 11 MouseActor mouseActor; 12 13 14 public DMouseRelay(MouseActor ma) { 15 mouseActor = ma; 16 } 17 18 19 public void mousePressed(MouseEvent me) { 20 mouseActor.mouseButtonPressed(); 21 } 22 23 public void mouseEntered(MouseEvent me) {} 24 public void mouseExited(MouseEvent me) {} 25 public void mouseReleased(MouseEvent me) {} 26 27 public void mouseClicked(MouseEvent me) {} 28 29 30 }