View Javadoc
1   /*
2    * Copyright (c) 2003, The JUNG Authors 
3    *
4    * All rights reserved.
5    *
6    * This software is open-source under the BSD license; see either
7    * "license.txt" or
8    * https://github.com/jrtom/jung/blob/master/LICENSE for a description.
9    */
10  /*
11   * Created on Feb 17, 2004
12   */
13  package edu.uci.ics.jung.visualization.control;
14  
15  import java.awt.event.MouseEvent;
16  
17  /**
18   * This interface allows users to register listeners to register to receive
19   * vertex clicks.
20   * 
21   * @author danyelf
22   */
23  public interface GraphMouseListener<V> {
24  
25  	void graphClicked(V v, MouseEvent me);
26  	void graphPressed(V v, MouseEvent me);
27  	void graphReleased(V v, MouseEvent me);
28  
29  }