Ontimize 5.2072EN

com.ontimize.gui
Interface MenuListener

All Known Implementing Classes:
DefaultMenuListener

public interface MenuListener

The listener interface for receiving menu events. The class that is interested in processing a menu event implements this interface, and the object created with that class is established as application menu listener using the application's setMenuListener method.


Method Summary
 void addMenuToListenFor(javax.swing.JMenuBar menubar)
          Indicates to the element which is the menu bar to listen for
 void setApplication(Application application)
          Sets a reference to the application
 void setInitialState()
           
 

Method Detail

addMenuToListenFor

public void addMenuToListenFor(javax.swing.JMenuBar menubar)
Indicates to the element which is the menu bar to listen for

Parameters:
menubar -

setApplication

public void setApplication(Application application)
Sets a reference to the application

Parameters:
application -

setInitialState

public void setInitialState()

Ontimize