net.sf.rej.gui.hexeditor
Class HexEditorMouseListener

java.lang.Object
  extended by net.sf.rej.gui.hexeditor.HexEditorMouseListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener

public class HexEditorMouseListener
extends java.lang.Object
implements java.awt.event.MouseListener

A MouseListener component for the HexEditor which translates user actions into the changes in the selection.

Author:
Sami Koivu

Constructor Summary
HexEditorMouseListener(SelectionModel selectionModel, HexEditorCellRenderer renderer)
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexEditorMouseListener

public HexEditorMouseListener(SelectionModel selectionModel,
                              HexEditorCellRenderer renderer)
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

setWidth

public void setWidth(int width)