ca.aura.ui.swt.actions
Class CaretListener

java.lang.Object
  |
  +--ca.aura.ui.swt.actions.CaretListener

public class CaretListener
extends java.lang.Object


Constructor Summary
CaretListener(Point lastPoint)
          Specify the presenter to select.
 
Method Summary
protected  boolean isSelected()
          Is the document currently selected?
 void mouseDoubleClick(MouseEvent e)
          The document is opened when double clicked
 void mouseDown(MouseEvent e)
          capture the last point when the mouse is down
 void mouseMove(MouseEvent e)
          did the mouse move?
 void mouseUp(MouseEvent e)
           
protected  void setPoint(MouseEvent e)
          set the last point
protected  void setSelected(boolean isSelected)
          Set the document as selected or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaretListener

public CaretListener(Point lastPoint)
Specify the presenter to select.

Method Detail

mouseDown

public void mouseDown(MouseEvent e)
capture the last point when the mouse is down


mouseDoubleClick

public void mouseDoubleClick(MouseEvent e)
The document is opened when double clicked


mouseUp

public void mouseUp(MouseEvent e)

mouseMove

public void mouseMove(MouseEvent e)
did the mouse move?


setPoint

protected void setPoint(MouseEvent e)
set the last point


isSelected

protected boolean isSelected()
Is the document currently selected?


setSelected

protected void setSelected(boolean isSelected)
Set the document as selected or not



Copyright © 2002 University of Ottawa. All Rights Reserved.