ca.aura.ui.swt.actions
Class MovingControlListener

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

public class MovingControlListener
extends java.lang.Object


Constructor Summary
MovingControlListener()
          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)
          The Document can handle two mouseDown events The "right" click opens up the document menu.
 void mouseMove(MouseEvent e)
          If the mouse is selected (based on a mouseDown event), then the document is + moved to the new location + visually marked as being moved
 void mouseUp(MouseEvent e)
           
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

MovingControlListener

public MovingControlListener()
Specify the presenter to select.

Method Detail

mouseDown

public void mouseDown(MouseEvent e)
The Document can handle two mouseDown events The "right" click opens up the document menu. The "left" click picks document to be moved around


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)
If the mouse is selected (based on a mouseDown event), then the document is + moved to the new location + visually marked as being moved


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.