org.diylc.common
Interface IMouseProcessor

All Known Subinterfaces:
IPlugInPort
All Known Implementing Classes:
Presenter

public interface IMouseProcessor


Method Summary
 void dragActionChanged(int dragAction)
          Changes the current drag action during the dragging.
 void dragEnded(java.awt.Point point)
          Notification that drag has been ended in the specified point.
 boolean dragOver(java.awt.Point point)
          Checks if it's possible to drop over the specified point.
 void dragStarted(java.awt.Point point, int dragAction)
          Notification that drag has been started from the specified point.
 void mouseClicked(java.awt.Point point, int button, boolean ctrlDown, boolean shiftDown, boolean altDown, int clickCount)
          Notifies the presenter that mouse is clicked.
 void mouseMoved(java.awt.Point point, boolean ctrlDown, boolean shiftDown, boolean altDown)
          Notifies the presenter that mouse is moved.
 

Method Detail

mouseClicked

void mouseClicked(java.awt.Point point,
                  int button,
                  boolean ctrlDown,
                  boolean shiftDown,
                  boolean altDown,
                  int clickCount)
Notifies the presenter that mouse is clicked. Note: point coordinates are display based, i.e. scaled for zoom factor.

Parameters:
point -
button -
ctrlDown -
shiftDown -
altDown -
clickCount -

mouseMoved

void mouseMoved(java.awt.Point point,
                boolean ctrlDown,
                boolean shiftDown,
                boolean altDown)
Notifies the presenter that mouse is moved. Note: point coordinates are display based, i.e. scaled for zoom factor.

Parameters:
point -
ctrlDown -
shiftDown -
altDown -

dragStarted

void dragStarted(java.awt.Point point,
                 int dragAction)
Notification that drag has been started from the specified point. Note: point coordinates are scaled for zoom factor.

Parameters:
point -
dragAction -

dragOver

boolean dragOver(java.awt.Point point)
Checks if it's possible to drop over the specified point. Note: point coordinates are scaled for zoom factor.

Parameters:
point -
Returns:

dragActionChanged

void dragActionChanged(int dragAction)
Changes the current drag action during the dragging.

Parameters:
dragAction -

dragEnded

void dragEnded(java.awt.Point point)
Notification that drag has been ended in the specified point. Note: point coordinates are scaled for zoom factor.

Parameters:
point -