#include <BrowserBar.hpp>
Public Types | |
enum | BrowserItemIds { Previous = 1, Next = 2, URLBar = 3, Go = 4 } |
Each type of item a toolbar can contain must be given a unique ID. More... | |
Public Member Functions | |
BrowserItemFactory () | |
Default constructor rely on base constructor. | |
ToolbarItemComponent * | createItem (const int itemId) |
Called back to create item components inside the toolbar. | |
void | getAllToolbarItemIds (Array< int > &ids) |
Called by the base class to get toolbar identifiers. | |
void | getDefaultItemSet (Array< int > &ids) |
Get the default set of identifiers to display. | |
void | setComboBoxListener (ComboBoxListener *_listener) |
void | setHomeURL (const String &url) |
~BrowserItemFactory () | |
Destructor. |
juce::BrowserBar::BrowserItemFactory::BrowserItemFactory | ( | ) | [inline] |
Default constructor rely on base constructor.
juce::BrowserBar::BrowserItemFactory::~BrowserItemFactory | ( | ) | [inline] |
Destructor.
ToolbarItemComponent* juce::BrowserBar::BrowserItemFactory::createItem | ( | const int | itemId | ) | [inline] |
Called back to create item components inside the toolbar.
void juce::BrowserBar::BrowserItemFactory::getAllToolbarItemIds | ( | Array< int > & | ids | ) | [inline] |
Called by the base class to get toolbar identifiers.
void juce::BrowserBar::BrowserItemFactory::getDefaultItemSet | ( | Array< int > & | ids | ) | [inline] |
Get the default set of identifiers to display.
void juce::BrowserBar::BrowserItemFactory::setComboBoxListener | ( | ComboBoxListener * | _listener | ) | [inline] |
void juce::BrowserBar::BrowserItemFactory::setHomeURL | ( | const String & | url | ) | [inline] |