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.
◆ PopupDirection
Enumerator |
---|
upwards | |
downwards | |
◆ Options() [1/2]
PopupMenu::Options::Options |
( |
| ) |
|
◆ Options() [2/2]
PopupMenu::Options::Options |
( |
const Options & |
| ) |
|
|
default |
◆ operator=()
◆ withTargetComponent() [1/2]
Options PopupMenu::Options::withTargetComponent |
( |
Component * |
targetComponent | ) |
const |
◆ withTargetComponent() [2/2]
Options PopupMenu::Options::withTargetComponent |
( |
Component & |
targetComponent | ) |
const |
◆ withTargetScreenArea()
◆ withDeletionCheck()
Options PopupMenu::Options::withDeletionCheck |
( |
Component & |
componentToWatchForDeletion | ) |
const |
◆ withMinimumWidth()
Options PopupMenu::Options::withMinimumWidth |
( |
int |
minWidth | ) |
const |
◆ withMinimumNumColumns()
Options PopupMenu::Options::withMinimumNumColumns |
( |
int |
minNumColumns | ) |
const |
◆ withMaximumNumColumns()
Options PopupMenu::Options::withMaximumNumColumns |
( |
int |
maxNumColumns | ) |
const |
◆ withStandardItemHeight()
Options PopupMenu::Options::withStandardItemHeight |
( |
int |
standardHeight | ) |
const |
◆ withItemThatMustBeVisible()
Options PopupMenu::Options::withItemThatMustBeVisible |
( |
int |
idOfItemToBeVisible | ) |
const |
◆ withParentComponent()
Options PopupMenu::Options::withParentComponent |
( |
Component * |
parentComponent | ) |
const |
◆ withPreferredPopupDirection()
◆ getParentComponent()
Component* PopupMenu::Options::getParentComponent |
( |
| ) |
const |
|
noexcept |
◆ getTargetComponent()
Component* PopupMenu::Options::getTargetComponent |
( |
| ) |
const |
|
noexcept |
◆ hasWatchedComponentBeenDeleted()
bool PopupMenu::Options::hasWatchedComponentBeenDeleted |
( |
| ) |
const |
|
noexcept |
◆ getTargetScreenArea()
Rectangle<int> PopupMenu::Options::getTargetScreenArea |
( |
| ) |
const |
|
noexcept |
◆ getMinimumWidth()
int PopupMenu::Options::getMinimumWidth |
( |
| ) |
const |
|
noexcept |
◆ getMaximumNumColumns()
int PopupMenu::Options::getMaximumNumColumns |
( |
| ) |
const |
|
noexcept |
◆ getMinimumNumColumns()
int PopupMenu::Options::getMinimumNumColumns |
( |
| ) |
const |
|
noexcept |
◆ getStandardItemHeight()
int PopupMenu::Options::getStandardItemHeight |
( |
| ) |
const |
|
noexcept |
◆ getItemThatMustBeVisible()
int PopupMenu::Options::getItemThatMustBeVisible |
( |
| ) |
const |
|
noexcept |
◆ getPreferredPopupDirection()
PopupDirection PopupMenu::Options::getPreferredPopupDirection |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following file: