Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
DataViewport Class Reference

Holds tabs for visualizers. More...

#include <DataViewport.h>

Inheritance diagram for DataViewport:
AccessClass

List of all members.

Public Member Functions

 DataViewport ()
 ~DataViewport ()
int addTabToDataViewport (String tabName, Component *componentToAdd, GenericEditor *editor)
 Adds a new tab and returns the tab index.
void destroyTab (int)
 Removes a tab with a specified index.
void selectTab (int)
 Select a tab with a specified index.
void currentTabChanged (int newIndex, const String &newTabName)
 Informs the component of the current tab that it's now active.
void disableConnectionToEditorViewport ()
 Prevent DataViewport from signaling EditorViewport when changing tabs.
- Public Member Functions inherited from AccessClass
 AccessClass ()
 ~AccessClass ()
void setUIComponent (UIComponent *)
virtual void updateChildComponents ()
EditorViewportgetEditorViewport ()
DataViewportgetDataViewport ()
ProcessorListgetProcessorList ()
ProcessorGraphgetProcessorGraph ()
ControlPanelgetControlPanel ()
MessageCentergetMessageCenter ()
UIComponentgetUIComponent ()
AudioComponentgetAudioComponent ()

Detailed Description

Holds tabs for visualizers.

Editors that create OpenGL visualizers can either place them in the DataViewport, for easy access on small monitors, or in a separate window, for maximum flexibility.

See also:
GenericEditor, InfoLabel, LfpDisplayCanvas

Constructor & Destructor Documentation

DataViewport::DataViewport ( )
DataViewport::~DataViewport ( )

Member Function Documentation

int DataViewport::addTabToDataViewport ( String  tabName,
Component *  componentToAdd,
GenericEditor editor 
)

Adds a new tab and returns the tab index.

void DataViewport::currentTabChanged ( int  newIndex,
const String &  newTabName 
)

Informs the component of the current tab that it's now active.

void DataViewport::destroyTab ( int  )

Removes a tab with a specified index.

void DataViewport::disableConnectionToEditorViewport ( )

Prevent DataViewport from signaling EditorViewport when changing tabs.

void DataViewport::selectTab ( int  )

Select a tab with a specified index.


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