rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMenuItemHighlighter Class Reference

Named property class. More...

#include <ilviews/gadgets/amenu.h>

Inheritance diagram for IlvMenuItemHighlighter:
IlvMenuItemGroup IlvNamedProperty

List of all members.

Public Member Functions

 IlvMenuItemHighlighter (IlSymbol *symbol)
 Constructor.
virtual void doIt (IlvMenuItem *item)
 Is called each time an item of the group is highlighted.
void highlightItems (IlvMenuItem *item)
 Highlights all the items of the group.

Detailed Description

Named property class.

Library: ilvgadgt

The class IlvMenuItemHighlighter is a named property that can be set on an IlvAbstractMenu object to implement menu item group highlighting: That is, when an item of the group is highlighted, the whole group is highlighted.

See also:
IlvAbstractMenu, IlvMenuItem

Constructor & Destructor Documentation

IlvMenuItemHighlighter::IlvMenuItemHighlighter ( IlSymbol symbol  ) 

Constructor.

Initializes a new instance of the IlvMenuItemHighlighter class.

Parameters:
symbol The selector name.

Member Function Documentation

virtual void IlvMenuItemHighlighter::doIt ( IlvMenuItem item  )  [virtual]

Is called each time an item of the group is highlighted.

The default implementation calls the IlvMenuItemSelector::highlightItem method.

Parameters:
item The item that has been highlighted.
See also:
highlightItems
void IlvMenuItemHighlighter::highlightItems ( IlvMenuItem item  ) 

Highlights all the items of the group.

Parameters:
item The item that has been highlighted.
See also:
doIt

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.