Class used to create a set of options to pass to the show() method.
More...
Class used to create a set of options to pass to the show() method.
You can chain together a series of calls to this class's methods to create a set of whatever options you want to specify. E.g.
§ Options()
PopupMenu::Options::Options |
( |
| ) |
|
§ withTargetComponent()
Options PopupMenu::Options::withTargetComponent |
( |
Component * |
targetComponent | ) |
const |
|
noexcept |
§ withTargetScreenArea()
Options PopupMenu::Options::withTargetScreenArea |
( |
const Rectangle< int > & |
targetArea | ) |
const |
|
noexcept |
§ withMinimumWidth()
Options PopupMenu::Options::withMinimumWidth |
( |
int |
minWidth | ) |
const |
|
noexcept |
§ withMaximumNumColumns()
Options PopupMenu::Options::withMaximumNumColumns |
( |
int |
maxNumColumns | ) |
const |
|
noexcept |
§ withStandardItemHeight()
Options PopupMenu::Options::withStandardItemHeight |
( |
int |
standardHeight | ) |
const |
|
noexcept |
§ withItemThatMustBeVisible()
Options PopupMenu::Options::withItemThatMustBeVisible |
( |
int |
idOfItemToBeVisible | ) |
const |
|
noexcept |
§ withParentComponent()
Options PopupMenu::Options::withParentComponent |
( |
Component * |
parentComponent | ) |
const |
|
noexcept |
§ getParentComponent()
Component* PopupMenu::Options::getParentComponent |
( |
| ) |
const |
|
noexcept |
§ getTargetComponent()
Component* PopupMenu::Options::getTargetComponent |
( |
| ) |
const |
|
noexcept |
§ getTargetScreenArea()
Rectangle<int> PopupMenu::Options::getTargetScreenArea |
( |
| ) |
const |
|
noexcept |
§ getMinimumWidth()
int PopupMenu::Options::getMinimumWidth |
( |
| ) |
const |
|
noexcept |
§ getMaximumNumColumns()
int PopupMenu::Options::getMaximumNumColumns |
( |
| ) |
const |
|
noexcept |
§ getStandardItemHeight()
int PopupMenu::Options::getStandardItemHeight |
( |
| ) |
const |
|
noexcept |
§ getItemThatMustBeVisible()
int PopupMenu::Options::getItemThatMustBeVisible |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following file: