Back to index

wims  3.65+svn20090927
ListerMouseEvent.java
Go to the documentation of this file.
00001 /*
00002  * Created on 15.01.2006
00003  *
00004  */
00005 package rene.lister;
00006 
00007 import java.awt.event.*;
00008 
00009 public class ListerMouseEvent
00010        extends ActionEvent
00011 {      static int ID=0;
00012        MouseEvent E;
00013        
00014        public ListerMouseEvent (Object o, String name, MouseEvent e)
00015        {      super(o,ID++,name);
00016               E=e;
00017        }
00018        
00019        public MouseEvent getEvent ()
00020        {      return E;
00021        }
00022        
00023        public String getName ()
00024        {      return E.paramString();
00025        }
00026 
00027        public boolean rightMouse ()
00028        {      return E.isMetaDown();
00029        }
00030        
00031        public int clickCount ()
00032        {      return E.getClickCount();
00033        }
00034 }