juce::BrowserBar::BrowserItemFactory Class Reference

#include <BrowserBar.hpp>

List of all members.

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.


Member Enumeration Documentation

enum juce::BrowserBar::BrowserItemFactory::BrowserItemIds

Each type of item a toolbar can contain must be given a unique ID.

These are the ones we'll use, you are free to add yours.

Enumerator:
Previous  Previous button.
Next  Next button.
URLBar  URL text editor button.
Go  Go button.


Constructor & Destructor Documentation

juce::BrowserBar::BrowserItemFactory::BrowserItemFactory (  )  [inline]

Default constructor rely on base constructor.

juce::BrowserBar::BrowserItemFactory::~BrowserItemFactory (  )  [inline]

Destructor.


Member Function Documentation

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]


The documentation for this class was generated from the following file:

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is