Extras
OptionModel
Class Hierarchy:
Direct Known Subclasses:
Extras.ToggleOptionModel

Representation of a menu option.

Constructor Summary
Public Extras.OptionModel()
Creates a new menu option.

Instance Field Summary
Public text
The menu title.
Public icon
The menu icon.

Instance Method Summary
Public getItemPositionPath()
Returns an array containing the path of this model to its most distant ancestor, consisting of positions.
Public toString()

Constructor Detail
Extras.OptionModel()
Creates a new menu option.
Parameters:
modelId (String) - the id of the menu model
text (String) - the menu item title
icon (#ImageReference) - the menu item icon

Instance Method Detail
getItemPositionPath
Returns an array containing the path of this model to its most distant ancestor, consisting of positions.
Returns:
(Array) the array of positions

toString