Package com.ms.ui Previous
Previous
Contents
Contents
Index
Index
Next
Next

Interface IUIRootContainer

Methods

public interface IUIRootContainer extends IUIContainer
{
  // Methods
  public void endMenu(IUIMenuLauncher ml);
  public IUIMenuLauncher getLaunchedMenu();
  public void launchMenu(IUIMenuLauncher ml);
}

Defines an interface for the extensions to the Container class for all root window classes (Applet, Frame, and Window). IUIRootContainer provides methods associated with the launching and cancelling of a pop-up menu.


Methods


endMenu

public void endMenu(IUIMenuLauncher ml);

Terminates the root container's launch of the menu controlled by the specified menu launcher. Any previously launched menu is cancelled.

Return Value:

No return value.

ParameterDescription
ml The menu launcher that is requesting the termination of the launch.


getLaunchedMenu

public IUIMenuLauncher getLaunchedMenu();

Retrieves the menu launcher associated with the root container's currently launched menu.

Return Value:

Returns the menu launcher object, which implements the IUIMenuLauncher interface.


launchMenu

public void launchMenu(IUIMenuLauncher ml);

Launches the menu controlled by the specified menu launcher, using the root container's pop-up window. Any previously launched menu is cancelled.

Return Value:

No return value.

ParameterDescription
ml The menu launcher that is requesting the launch.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.