public class GeneBoxMouseAdapter extends java.awt.event.MouseAdapter implements GeneManipulationSupport
Constructor and Description |
---|
GeneBoxMouseAdapter(GeneBox geneBox,
GeneBoxType geneBoxType,
net.richarddawkins.watchmaker.cursor.WatchmakerCursorFactory cursors) |
Modifier and Type | Method and Description |
---|---|
void |
addGeneManipulationListener(GeneManipulationListener listener) |
void |
fireGeneManipulationEvent(GeneManipulationEvent event) |
GeneManipulationListener[] |
getGeneManipulationListeners() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
removeAllGeneManipulationListeners() |
void |
removeGeneManipulationListener(GeneManipulationListener listener) |
public GeneBoxMouseAdapter(GeneBox geneBox, GeneBoxType geneBoxType, net.richarddawkins.watchmaker.cursor.WatchmakerCursorFactory cursors)
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseAdapter
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
mouseEntered
in class java.awt.event.MouseAdapter
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class java.awt.event.MouseAdapter
public void fireGeneManipulationEvent(GeneManipulationEvent event)
fireGeneManipulationEvent
in interface GeneManipulationSupport
public void addGeneManipulationListener(GeneManipulationListener listener)
addGeneManipulationListener
in interface GeneManipulationSupport
public void removeAllGeneManipulationListeners()
removeAllGeneManipulationListeners
in interface GeneManipulationSupport
public void removeGeneManipulationListener(GeneManipulationListener listener)
removeGeneManipulationListener
in interface GeneManipulationSupport
public GeneManipulationListener[] getGeneManipulationListeners()
getGeneManipulationListeners
in interface GeneManipulationSupport