org.norvelle.textcite.gui
Class MainToolBar.ToolbarActionAdapter

java.lang.Object
  extended by org.norvelle.textcite.gui.MainToolBar.ToolbarActionAdapter
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
MainToolBar

 class MainToolBar.ToolbarActionAdapter
extends java.lang.Object
implements java.awt.event.ActionListener

ToolbarActionAdapter handles the simpler events resulting from the user's selecting a menu item. The MainFrame handles all these simpler events, so we simply pass the event on the appropriate MainFrame method.


Field Summary
(package private)  int actionRequested
           
(package private)  MainFrame adaptee
           
 
Constructor Summary
MainToolBar.ToolbarActionAdapter(MainFrame a, int r)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adaptee

MainFrame adaptee

actionRequested

int actionRequested
Constructor Detail

MainToolBar.ToolbarActionAdapter

MainToolBar.ToolbarActionAdapter(MainFrame a,
                                 int r)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionEvent)
Specified by:
actionPerformed in interface java.awt.event.ActionListener