com.tuneology.avm
Interface ApplListener

All Superinterfaces:
java.util.EventListener

public interface ApplListener
extends java.util.EventListener

Interface to implementation-specific services. Implement this interface and register an object with Native.registerApplListener.

Version:
$Id: ApplListener.java,v 1.4 2003/06/07 15:31:40 xnarf Exp $
Author:
Fran Taylor

Method Summary
 void handleAbout()
          Called when the user picks the about menu item.
 void handleOpen(java.io.File f)
          Called when the user opens a document with the application.
 void handleOpenApp()
          Called when the user runs the application when it is already open.
 void handlePreferences()
          Called when the user picks the Preferences menu item.
 void handlePrint(java.io.File f)
          Called when the user prints a document with the application.
 boolean handleQuit()
          Called when the user picks the Quit menu item.
 

Method Detail

handleAbout

public void handleAbout()
Called when the user picks the about menu item.

handleOpenApp

public void handleOpenApp()
Called when the user runs the application when it is already open.

handleOpen

public void handleOpen(java.io.File f)
Called when the user opens a document with the application.
Parameters:
f -  

handlePreferences

public void handlePreferences()
Called when the user picks the Preferences menu item.

handlePrint

public void handlePrint(java.io.File f)
Called when the user prints a document with the application.
Parameters:
f -  

handleQuit

public boolean handleQuit()
Called when the user picks the Quit menu item.
Returns:
false to cancel the quit.