Holds tabs containing the application's visualizers. More...
#include <DataViewport.h>
Public Member Functions | |
DataViewport () | |
~DataViewport () | |
int | addTabToDataViewport (String tabName, Component *componentToAdd, GenericEditor *editor) |
Adds a new visualizer within a tab and returns the tab index. | |
void | destroyTab (int) |
Removes a tab with a specified index. | |
void | selectTab (int) |
Selects a tab with a specified index. | |
void | currentTabChanged (int newIndex, const String &newTabName) |
Informs the component within the current tab that it's now active. | |
void | disableConnectionToEditorViewport () |
Prevents the DataViewport from signaling EditorViewport when changing tabs. | |
![]() | |
AccessClass () | |
~AccessClass () | |
void | setUIComponent (UIComponent *) |
Sets the object's UIComponent and copies all the necessary pointers from the UIComponent. | |
virtual void | updateChildComponents () |
Called within setUIComponent() to enable subclasses to update their members' pointers. | |
EditorViewport * | getEditorViewport () |
Returns a pointer to the application's EditorViewport. | |
DataViewport * | getDataViewport () |
Returns a pointer to the application's DataViewport. | |
ProcessorList * | getProcessorList () |
Returns a pointer to the application's ProcessorList. | |
ProcessorGraph * | getProcessorGraph () |
Returns a pointer to the application's ProcessorGraph. | |
ControlPanel * | getControlPanel () |
Returns a pointer to the application's DataViewport. | |
MessageCenter * | getMessageCenter () |
Returns a pointer to the application's MessageCenter. | |
UIComponent * | getUIComponent () |
Returns a pointer to the application's UIComponent. | |
AudioComponent * | getAudioComponent () |
Returns a pointer to the application's AudioComponent. |
Holds tabs containing the application's visualizers.
The DataViewport sits in the center of the MainWindow and is always visible. Editors that create data visualizations can place them in the DataViewport for easy access on small monitors, or in a separate window for maximum flexibility.
This class is a subclass of juce_TabbedComponent.h
DataViewport::DataViewport | ( | ) |
DataViewport::~DataViewport | ( | ) |
int DataViewport::addTabToDataViewport | ( | String | tabName, |
Component * | componentToAdd, | ||
GenericEditor * | editor | ||
) |
Adds a new visualizer within a tab and returns the tab index.
void DataViewport::destroyTab | ( | int | ) |
Removes a tab with a specified index.
void DataViewport::selectTab | ( | int | ) |
Selects a tab with a specified index.
void DataViewport::currentTabChanged | ( | int | newIndex, |
const String & | newTabName | ||
) |
Informs the component within the current tab that it's now active.
void DataViewport::disableConnectionToEditorViewport | ( | ) |
Prevents the DataViewport from signaling EditorViewport when changing tabs.