Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2019


Ignore:
Timestamp:
06/04/09 21:50:11 (16 years ago)
Author:
bspisic
Message:

Added some comments (#664)

Location:
trunk/sources/HeuristicLab.Visualization/3.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/IMouseEventListener.cs

    r1530 r2019  
    33
    44namespace HeuristicLab.Visualization {
     5  /// <summary>
     6  /// Interface for MouseEventListeners like ZoomListener, PanListener etc. to simplify state handling.
     7  /// </summary>
    58  public interface IMouseEventListener {
     9    /// <summary>
     10    /// Call this method on mouse move.
     11    /// </summary>
     12    /// <param name="sender"></param>
     13    /// <param name="e"></param>
    614    void MouseMove(object sender, MouseEventArgs e);
     15
     16    /// <summary>
     17    /// Call this method on mouse up.
     18    /// </summary>
     19    /// <param name="sender"></param>
     20    /// <param name="e"></param>
    721    void MouseUp(object sender, MouseEventArgs e);
    822  }
  • trunk/sources/HeuristicLab.Visualization/3.2/PanListener.cs

    r2017 r2019  
    33
    44namespace HeuristicLab.Visualization {
     5  /// <summary>
     6  /// Supports the state panning.
     7  /// </summary>
    58  public class PanListener : IMouseEventListener {
    69    private Point startPoint;
    710
     11    /// <summary>
     12    /// This event will be fired every MouseMove call.
     13    /// </summary>
    814    public event MoveHandler Pan;
    915
  • trunk/sources/HeuristicLab.Visualization/3.2/ZoomListener.cs

    r2016 r2019  
    44
    55namespace HeuristicLab.Visualization {
     6  /// <summary>
     7  /// Supports the state zooming.
     8  /// </summary>
    69  public class ZoomListener : IMouseEventListener {
    710    private readonly Point startPoint;
    811
     12    /// <summary>
     13    /// This event will be fired every MouseMove call.
     14    /// </summary>
    915    public event RectangleHandler DrawRectangle;
     16
     17    /// <summary>
     18    /// This event will be fired on the MouseUp call.
     19    /// </summary>
    1020    public event RectangleHandler Zoom;
    1121
Note: See TracChangeset for help on using the changeset viewer.