infomat.view.menu
Class ToolbarController

java.lang.Object
  extended by infomat.view.menu.ToolbarController
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ToolbarController
extends java.lang.Object
implements java.awt.event.ActionListener

Controller of the toolbar.


Constructor Summary
ToolbarController(InfomatView infomatView)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Perform the right action for the right command
 void menuClick(java.lang.String button)
          Simulate a button press (from the menu)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarController

public ToolbarController(InfomatView infomatView)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Perform the right action for the right command

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - The action performed

menuClick

public void menuClick(java.lang.String button)
Simulate a button press (from the menu)

Parameters:
button - The name of the button