Free cookie consent management tool by TermsFeed Policy Generator

Changeset 863


Ignore:
Timestamp:
11/29/08 12:23:52 (16 years ago)
Author:
bspisic
Message:

#319

MouseEventListener xml comments created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/MouseEventListener.cs

    r725 r863  
    22
    33namespace HeuristicLab.Visualization {
     4  /// <summary>
     5  /// Helper class for different OnMouseMove and OnMouseUp implementations.
     6  /// </summary>
    47  public class MouseEventListener {
     8    /// <summary>
     9    /// Fired when the MouseMove method was called.
     10    /// </summary>
    511    public event MouseEventListenerHandler OnMouseMove;
     12
     13    /// <summary>
     14    /// Fired when the MouseUp method was called.
     15    /// </summary>
    616    public event MouseEventListenerHandler OnMouseUp;
    717
    818    private Point startPoint;
    919
     20    /// <summary>
     21    /// Call this method to fire the OnMouseMove event.
     22    /// </summary>
     23    /// <param name="actualPoint"></param>
    1024    public void MouseMove(Point actualPoint) {
    1125      if (OnMouseMove != null) {
     
    1428    }
    1529
     30    /// <summary>
     31    /// Call this method to fire the OnMouseUp event.
     32    /// </summary>
     33    /// <param name="actualPoint">Actual point of the mouse</param>
    1634    public void MouseUp(Point actualPoint) {
    1735      if (OnMouseUp != null) {
     
    2038    }
    2139
     40    /// <summary>
     41    /// Gets or sets the starting point of the mouse.
     42    /// </summary>
    2243    public Point StartPoint {
    2344      get { return startPoint; }
     
    2647  }
    2748
     49  /// <summary>
     50  /// Handler for the MouseEventListener events.
     51  /// </summary>
     52  /// <param name="startPoint">Starting point of the mouse.</param>
     53  /// <param name="actualPoint">Actual point of the mouse.</param>
    2854  public delegate void MouseEventListenerHandler(Point startPoint, Point actualPoint);
    2955}
Note: See TracChangeset for help on using the changeset viewer.