Base class for creating processor editors. More...
#include <GenericEditor.h>
Public Member Functions | |
GenericEditor (GenericProcessor *owner) | |
virtual | ~GenericEditor () |
void | paint (Graphics &g) |
bool | keyPressed (const KeyPress &key) |
void | switchSelectedState () |
void | select () |
void | highlight () |
void | deselect () |
bool | getSelectionState () |
void | enable () |
void | disable () |
bool | getEnabledState () |
void | setEnabledState (bool) |
void | startAcquisition () |
void | stopAcquisition () |
String | getName () |
virtual void | tabNumber (int t) |
int | tabNumber () |
virtual void | switchSource (int) |
virtual void | switchSource () |
GenericProcessor * | getProcessor () const |
void | fadeIn () |
virtual void | switchDest () |
virtual void | switchIO (int) |
virtual void | buttonClicked (Button *button) |
virtual void | buttonEvent (Button *button) |
virtual void | sliderValueChanged (Slider *slider) |
virtual void | sliderEvent (Slider *slider) |
virtual void | editorWasClicked () |
bool | checkDrawerButton (Button *button) |
bool | getRecordStatus (int chan) |
bool | getAudioStatus (int chan) |
void | selectChannels (Array< int >) |
void | refreshColors () |
virtual void | update () |
virtual void | updateSettings () |
virtual void | updateVisualizer () |
virtual void | channelChanged (int chan) |
Array< int > | getActiveChannels () |
Channel * | getChannel (int chan) |
Channel * | getEventChannel (int chan) |
int | getStartChannel () |
![]() | |
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. |
Public Attributes | |
int | desiredWidth |
int | nodeId |
bool | isFading |
float | accumulator |
Array< ParameterEditor * > | parameterEditors |
Font | titleFont |
Protected Member Functions | |
virtual void | addParameterEditors () |
Protected Attributes | |
DrawerButton * | drawerButton |
int | drawerWidth |
ChannelSelector * | channelSelector |
Base class for creating processor editors.
If a processor doesn't havesign an editor defined, a GenericEditor will be used.
Classes derived from this class must place their controls as child components. They shouldn't try to re-draw any aspects of their background.
GenericEditor::GenericEditor | ( | GenericProcessor * | owner | ) |
|
virtual |
void GenericEditor::paint | ( | Graphics & | g | ) |
bool GenericEditor::keyPressed | ( | const KeyPress & | key | ) |
void GenericEditor::switchSelectedState | ( | ) |
void GenericEditor::select | ( | ) |
void GenericEditor::highlight | ( | ) |
void GenericEditor::deselect | ( | ) |
bool GenericEditor::getSelectionState | ( | ) |
void GenericEditor::enable | ( | ) |
Reimplemented in VisualizerEditor.
void GenericEditor::disable | ( | ) |
Reimplemented in VisualizerEditor.
bool GenericEditor::getEnabledState | ( | ) |
void GenericEditor::setEnabledState | ( | bool | ) |
void GenericEditor::startAcquisition | ( | ) |
Reimplemented in ResamplingNodeEditor.
void GenericEditor::stopAcquisition | ( | ) |
Reimplemented in ResamplingNodeEditor.
String GenericEditor::getName | ( | ) |
|
virtual |
int GenericEditor::tabNumber | ( | ) |
|
virtual |
Reimplemented in MergerEditor.
|
virtual |
Reimplemented in MergerEditor.
GenericProcessor* GenericEditor::getProcessor | ( | ) | const |
void GenericEditor::fadeIn | ( | ) |
|
virtual |
Reimplemented in SplitterEditor.
|
virtual |
Reimplemented in MergerEditor, and SplitterEditor.
|
virtual |
|
virtual |
Reimplemented in SpikeDetectorEditor, VisualizerEditor, MergerEditor, SplitterEditor, SignalGeneratorEditor, EventNodeEditor, FilterEditor, and ReferenceNodeEditor.
|
virtual |
|
virtual |
Reimplemented in SpikeDetectorEditor, and SignalGeneratorEditor.
|
virtual |
Reimplemented in VisualizerEditor.
bool GenericEditor::checkDrawerButton | ( | Button * | button | ) |
bool GenericEditor::getRecordStatus | ( | int | chan | ) |
bool GenericEditor::getAudioStatus | ( | int | chan | ) |
void GenericEditor::selectChannels | ( | Array< int > | ) |
void GenericEditor::refreshColors | ( | ) |
|
virtual |
|
virtual |
Reimplemented in RecordControlEditor.
|
virtual |
Reimplemented in VisualizerEditor.
|
virtual |
Reimplemented in SpikeDetectorEditor.
Array<int> GenericEditor::getActiveChannels | ( | ) |
Channel* GenericEditor::getChannel | ( | int | chan | ) |
Channel* GenericEditor::getEventChannel | ( | int | chan | ) |
int GenericEditor::getStartChannel | ( | ) |
|
protectedvirtual |
Reimplemented in SignalGeneratorEditor.
int GenericEditor::desiredWidth |
int GenericEditor::nodeId |
bool GenericEditor::isFading |
float GenericEditor::accumulator |
Array<ParameterEditor*> GenericEditor::parameterEditors |
Font GenericEditor::titleFont |
|
protected |
|
protected |
|
protected |