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

Allows the user to view and edit the signal chain. More...

#include <EditorViewport.h>

Inheritance diagram for EditorViewport:
AccessClass

List of all members.

Public Member Functions

 EditorViewport ()
 Constructor.
 ~EditorViewport ()
 Destructor.
void paint (Graphics &g)
void deleteNode (GenericEditor *editor)
void selectEditor (GenericEditor *e)
void makeEditorVisible (GenericEditor *e, bool highlight=true)
void makeEditorVisibleAndUpdateSettings (GenericEditor *e)
void refreshEditors ()
void clearSignalChain ()
void signalChainCanBeEdited (bool t)
bool isInterestedInDragSource (const String &, Component *)
void itemDragEnter (const String &, Component *, int, int)
void itemDragMove (const String &, Component *, int, int)
void itemDragExit (const String &, Component *)
void itemDropped (const String &sourceDescription, Component *, int, int)
void mouseDown (const MouseEvent &e)
void mouseDrag (const MouseEvent &e)
void mouseUp (const MouseEvent &e)
void mouseExit (const MouseEvent &e)
bool keyPressed (const KeyPress &key)
void moveSelection (const KeyPress &key)
void buttonClicked (Button *button)
Array< SignalChainTabButton
*, CriticalSection > 
requestSignalChain ()
const String saveState ()
 Save the current configuration as an XML file.
const String loadState ()
 Load a saved configuration from an XML file.
XmlElement * createNodeXml (GenericEditor *, int)
XmlElement * switchNodeXml (GenericProcessor *)
void checkScrollButtons (int topTab)
bool isSignalChainEmpty ()
- Public Member Functions inherited from AccessClass
 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.
EditorViewportgetEditorViewport ()
 Returns a pointer to the application's EditorViewport.
DataViewportgetDataViewport ()
 Returns a pointer to the application's DataViewport.
ProcessorListgetProcessorList ()
 Returns a pointer to the application's ProcessorList.
ProcessorGraphgetProcessorGraph ()
 Returns a pointer to the application's ProcessorGraph.
ControlPanelgetControlPanel ()
 Returns a pointer to the application's DataViewport.
MessageCentergetMessageCenter ()
 Returns a pointer to the application's MessageCenter.
UIComponentgetUIComponent ()
 Returns a pointer to the application's UIComponent.
AudioComponentgetAudioComponent ()
 Returns a pointer to the application's AudioComponent.

Public Attributes

int leftmostEditor
File currentFile

Detailed Description

Allows the user to view and edit the signal chain.

The EditorViewport is one of the most important classes in the GUI application.

See also:
UIComponent, ProcessorGraph

Constructor & Destructor Documentation

EditorViewport::EditorViewport ( )

Constructor.

EditorViewport::~EditorViewport ( )

Destructor.


Member Function Documentation

void EditorViewport::paint ( Graphics &  g)
void EditorViewport::deleteNode ( GenericEditor editor)
void EditorViewport::selectEditor ( GenericEditor e)
void EditorViewport::makeEditorVisible ( GenericEditor e,
bool  highlight = true 
)
void EditorViewport::makeEditorVisibleAndUpdateSettings ( GenericEditor e)
void EditorViewport::refreshEditors ( )
void EditorViewport::clearSignalChain ( )
void EditorViewport::signalChainCanBeEdited ( bool  t)
bool EditorViewport::isInterestedInDragSource ( const String &  ,
Component *   
)
void EditorViewport::itemDragEnter ( const String &  ,
Component *  ,
int  ,
int   
)
void EditorViewport::itemDragMove ( const String &  ,
Component *  ,
int  ,
int   
)
void EditorViewport::itemDragExit ( const String &  ,
Component *   
)
void EditorViewport::itemDropped ( const String &  sourceDescription,
Component *  ,
int  ,
int   
)
void EditorViewport::mouseDown ( const MouseEvent &  e)
void EditorViewport::mouseDrag ( const MouseEvent &  e)
void EditorViewport::mouseUp ( const MouseEvent &  e)
void EditorViewport::mouseExit ( const MouseEvent &  e)
bool EditorViewport::keyPressed ( const KeyPress &  key)
void EditorViewport::moveSelection ( const KeyPress &  key)
void EditorViewport::buttonClicked ( Button *  button)
Array<SignalChainTabButton*, CriticalSection> EditorViewport::requestSignalChain ( )
const String EditorViewport::saveState ( )

Save the current configuration as an XML file.

const String EditorViewport::loadState ( )

Load a saved configuration from an XML file.

XmlElement* EditorViewport::createNodeXml ( GenericEditor ,
int   
)
XmlElement* EditorViewport::switchNodeXml ( GenericProcessor )
void EditorViewport::checkScrollButtons ( int  topTab)
bool EditorViewport::isSignalChainEmpty ( )

Member Data Documentation

int EditorViewport::leftmostEditor
File EditorViewport::currentFile

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