jwo.utils.gui
Class EditableHeaderUI.MouseInputHandler

java.lang.Object
  extended by javax.swing.plaf.basic.BasicTableHeaderUI.MouseInputHandler
      extended by jwo.utils.gui.EditableHeaderUI.MouseInputHandler
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener, MouseInputListener
Enclosing class:
EditableHeaderUI

public class EditableHeaderUI.MouseInputHandler
extends BasicTableHeaderUI.MouseInputHandler

Deals with mouse events relating to the table header (e.g. resizing and reordering.


Field Summary
protected  EditableHeader header
           
 
Constructor Summary
EditableHeaderUI.MouseInputHandler(EditableHeader header)
          Creates a customised input handler.
 
Method Summary
 void mousePressed(MouseEvent e)
          Responds to a mouse press event over the editable header.
 void mouseReleased(MouseEvent e)
          Responds to a mouse release over the editable header.
 
Methods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI.MouseInputHandler
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

protected EditableHeader header
Constructor Detail

EditableHeaderUI.MouseInputHandler

public EditableHeaderUI.MouseInputHandler(EditableHeader header)
Creates a customised input handler.

Parameters:
header - Header to associate with this input handler.
Method Detail

mousePressed

public void mousePressed(MouseEvent e)
Responds to a mouse press event over the editable header.

Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class BasicTableHeaderUI.MouseInputHandler
Parameters:
e - Mouse event.

mouseReleased

public void mouseReleased(MouseEvent e)
Responds to a mouse release over the editable header.

Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class BasicTableHeaderUI.MouseInputHandler
Parameters:
e - Mouse event.


Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009