MenuControl.setTopLevelLeafSelectedClass

Sets one or more CSS classes to be applied to top level leaf selected menu items. A leaf item refers to a menu item with no children. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.

These classes are configured in the designer using the Advanced Properties button within the control's Styling Assistant.

Further documentation.

Parameters

java.lang.String  topLevelLeafSelectedClass,