GraphStream Users

Archives de la liste Aide


Re: Swap mouse buttons for ViewerListerner


Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT gmail.com>
  • To: graphstream-users AT litislab.fr, mauricio0copo AT gmail.com
  • Subject: Re: Swap mouse buttons for ViewerListerner
  • Date: Sun, 30 Jun 2013 16:02:17 +0200

Hope it helps ...
Regards

Guilhelm


2013/6/30 <mauricio0copo AT gmail.com>
Hello,

Well ...the title says it all. The ViewerLister activates events for left
button clicks. Right button clicks just move the node around. Since my listener
is used to create a window that displays info about the clicked node, it would
make more sense if I used the right button for that and the left button for
moving. By now I'm trying to get a solution with java.awt.Robot, but I'd rather
ask first if there's an easier way before doing the hard way :)



--
Guilhelm Savin
PhD Student of Computer Science



Archives gérées par MHonArc 2.6.16.

Top of page