Back to index

wims  3.65+svn20090927
ActionTranslator.java
Go to the documentation of this file.
00001 package rene.gui;
00002 
00003 import java.awt.event.ActionEvent;
00004 import java.awt.event.ActionListener;
00005 
00010 public class ActionTranslator implements ActionListener
00011 {   String Name;
00012     DoActionListener C;
00013     ActionEvent E;
00014     public ActionTranslator (DoActionListener c, String name)
00015     {   Name=name; C=c;
00016     }
00017     public void actionPerformed (ActionEvent e)
00018     {   E=e;
00019        C.doAction(Name);
00020     }
00021     public void trigger ()
00022     {  C.doAction(Name);
00023     }
00024 }