org.rcfaces.core.component.capability
Interface IMenuCapability

All Known Implementing Classes:
AdditionalInformationComponent, BoxComponent, ComponentsGridComponent, ComponentsListComponent, DataGridComponent, ItemsToolFolderComponent, PasswordEntryComponent, SpinnerComponent, SuggestTextEntryComponent, TabComponent, TabNamingContainerComponent, TextAreaComponent, TextEditorComponent, TextEditorToolFolderComponent, TextEntryComponent, ToolFolderComponent, TreeComponent

public interface IMenuCapability

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Method Summary
 IMenuComponent getMenu()
          Returns the top-most menu associated to the component.
 IMenuComponent getMenu(String menuId)
          Returns the menu identified by its id from the menus associated to the component.
 IMenuIterator listMenus()
          Returns a list of all the menus associated to the component.
 

Method Detail

getMenu

IMenuComponent getMenu()
Returns the top-most menu associated to the component.

Returns:
top-most menu component

getMenu

IMenuComponent getMenu(String menuId)
Returns the menu identified by its id from the menus associated to the component.

Parameters:
menuId - Id for a particular menu
Returns:
menu component

listMenus

IMenuIterator listMenus()
Returns a list of all the menus associated to the component.

Returns:
Menu iterator


Copyright © 2006-2011 Vedana. All Rights Reserved.