Ontimize 5.2072EN

com.ontimize.gui.field
Interface NavigationMenu.MenuItemRenderer

All Superinterfaces:
Internationalization
All Known Implementing Classes:
NavigationMenu.DefaultMenuItemRenderer
Enclosing interface:
NavigationMenu

public static interface NavigationMenu.MenuItemRenderer
extends Internationalization

Interface MenuItemRenderer.

Author:
Imatia Innovation.

Field Summary
 
Fields inherited from interface com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Method Summary
 java.awt.Component getMenuItemRendererComponent(NavigationMenu.MenuGroup group, NavigationMenu.MenuItem item, boolean selected, boolean enabled)
          This method returns the renderer to the MenuItem of the MenuGroup.
 
Methods inherited from interface com.ontimize.gui.i18n.Internationalization
getTextsToTranslate, setComponentLocale, setResourceBundle
 

Method Detail

getMenuItemRendererComponent

public java.awt.Component getMenuItemRendererComponent(NavigationMenu.MenuGroup group,
                                                       NavigationMenu.MenuItem item,
                                                       boolean selected,
                                                       boolean enabled)
This method returns the renderer to the MenuItem of the MenuGroup.

Parameters:
group - The MenuGroup where the MenuItem is contained.
item - The MenuItem to be applied the renderer.
selected - Boolean that indicates if the MenuItem is selected or not.
enabled - Boolean that indicates if the MenuItem is enabled or not.
Returns:
a Component.

Ontimize