Class used to create a set of options to pass to the show() method.
More...
#include <juce_PopupMenu.h>
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]
| juce::PopupMenu::Options::Options |
( |
| ) |
|
◆ Options() [2/2]
| juce::PopupMenu::Options::Options |
( |
const Options & |
| ) |
|
|
default |
◆ getItemThatMustBeVisible()
| int juce::PopupMenu::Options::getItemThatMustBeVisible |
( |
| ) |
const |
|
inlinenoexcept |
◆ getMaximumNumColumns()
| int juce::PopupMenu::Options::getMaximumNumColumns |
( |
| ) |
const |
|
inlinenoexcept |
◆ getMinimumNumColumns()
| int juce::PopupMenu::Options::getMinimumNumColumns |
( |
| ) |
const |
|
inlinenoexcept |
◆ getMinimumWidth()
| int juce::PopupMenu::Options::getMinimumWidth |
( |
| ) |
const |
|
inlinenoexcept |
◆ getParentComponent()
| Component* juce::PopupMenu::Options::getParentComponent |
( |
| ) |
const |
|
inlinenoexcept |
◆ getPreferredPopupDirection()
| PopupDirection juce::PopupMenu::Options::getPreferredPopupDirection |
( |
| ) |
const |
|
inlinenoexcept |
◆ getStandardItemHeight()
| int juce::PopupMenu::Options::getStandardItemHeight |
( |
| ) |
const |
|
inlinenoexcept |
◆ getTargetComponent()
| Component* juce::PopupMenu::Options::getTargetComponent |
( |
| ) |
const |
|
inlinenoexcept |
◆ getTargetScreenArea()
| Rectangle<int> juce::PopupMenu::Options::getTargetScreenArea |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=()
◆ withItemThatMustBeVisible()
| Options juce::PopupMenu::Options::withItemThatMustBeVisible |
( |
int |
idOfItemToBeVisible | ) |
const |
|
noexcept |
◆ withMaximumNumColumns()
| Options juce::PopupMenu::Options::withMaximumNumColumns |
( |
int |
maxNumColumns | ) |
const |
|
noexcept |
◆ withMinimumNumColumns()
| Options juce::PopupMenu::Options::withMinimumNumColumns |
( |
int |
minNumColumns | ) |
const |
|
noexcept |
◆ withMinimumWidth()
| Options juce::PopupMenu::Options::withMinimumWidth |
( |
int |
minWidth | ) |
const |
|
noexcept |
◆ withParentComponent()
| Options juce::PopupMenu::Options::withParentComponent |
( |
Component * |
parentComponent | ) |
const |
|
noexcept |
◆ withPreferredPopupDirection()
◆ withStandardItemHeight()
| Options juce::PopupMenu::Options::withStandardItemHeight |
( |
int |
standardHeight | ) |
const |
|
noexcept |
◆ withTargetComponent()
| Options juce::PopupMenu::Options::withTargetComponent |
( |
Component * |
targetComponent | ) |
const |
|
noexcept |
◆ withTargetScreenArea()
◆ maxColumns
| int juce::PopupMenu::Options::maxColumns = 0 |
|
private |
◆ minColumns
| int juce::PopupMenu::Options::minColumns = 1 |
|
private |
◆ minWidth
| int juce::PopupMenu::Options::minWidth = 0 |
|
private |
◆ parentComponent
| Component* juce::PopupMenu::Options::parentComponent = nullptr |
|
private |
◆ preferredPopupDirection
◆ standardHeight
| int juce::PopupMenu::Options::standardHeight = 0 |
|
private |
◆ targetArea
◆ targetComponent
| Component* juce::PopupMenu::Options::targetComponent = nullptr |
|
private |
◆ visibleItemID
| int juce::PopupMenu::Options::visibleItemID = 0 |
|
private |
The documentation for this class was generated from the following file: