Class semper.util.bootstrap.ApplicationsMenu
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.util.bootstrap.ApplicationsMenu

java.lang.Object
   |
   +----semper.util.bootstrap.ApplicationsMenu

public class ApplicationsMenu
extends Object
implements MenuHandler
This class provides a standard way of registering "special" applications (e.g. purse management) to be launched via a pull down menu on the Tinguin. In order to be launchable from this menu, the following steps are necessary: At the end of Library#init, a pull down menu with the applications registered so far will be installed on Tinguin.
Version:
$Revision: 1.4 $ $Date: 1997/01/20 15:31:55 $
Author:
N. Asokan ([email protected])
See Also:
MenuLaunchable, Libray

Constructor Index

 o ApplicationsMenu()
Public constructor which
  • Disables further registration of applications
  • Constructs a menu from the applications registered so far and install it with Tinguin
  • Used by: Library#init
  • Method Index

     o menuAction(MenuItem)
    Implementing the MenuHandler interface.
     o register(MenuLaunchable, String)
    Register an application with the ApplicationsMenu.

    Constructors

     o ApplicationsMenu
      public ApplicationsMenu()
    
    Public constructor which
  • Disables further registration of applications
  • Constructs a menu from the applications registered so far and install it with Tinguin
  • Used by: Library#init
    See Also:
    init, register
  • Methods

     o menuAction
      public void menuAction(MenuItem m)
    
    Implementing the MenuHandler interface.
  • Used by Tinguin
  •  o register
      public static boolean register(MenuLaunchable m,
                                     String label)
    
    Register an application with the ApplicationsMenu. Once installed, a user can launch the application by clicking on the corresponding menu item.
    Parameters:
    m - an object implementing the MenuLaunchable interface
    label - the String which will be displayed on the menu
    Returns:
    s true if registration succeeeded; false if registration failed (registration failed if attempted after the menu has been installed on Tinguin)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index