Base class for creating processor editors. More...
#include <GenericEditor.h>
Public Attributes | |
int | desiredWidth |
int | nodeId |
bool | isFading |
float | accumulator |
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 |
|
protectedvirtual |
Reimplemented in SignalGeneratorEditor.
|
virtual |
|
inlinevirtual |
Reimplemented in SpikeDetectorEditor, VisualizerEditor, MergerEditor, SplitterEditor, SignalGeneratorEditor, EventNodeEditor, and FilterEditor.
|
inlinevirtual |
Reimplemented in SpikeDetectorEditor.
bool GenericEditor::checkDrawerButton | ( | Button * | button | ) |
void GenericEditor::deselect | ( | ) |
void GenericEditor::disable | ( | ) |
Reimplemented in VisualizerEditor.
|
inlinevirtual |
Reimplemented in VisualizerEditor.
void GenericEditor::enable | ( | ) |
Reimplemented in VisualizerEditor.
void GenericEditor::fadeIn | ( | ) |
Array<int> GenericEditor::getActiveChannels | ( | ) |
bool GenericEditor::getAudioStatus | ( | int | chan | ) |
bool GenericEditor::getEnabledState | ( | ) |
|
inline |
|
inline |
bool GenericEditor::getRecordStatus | ( | int | chan | ) |
bool GenericEditor::getSelectionState | ( | ) |
int GenericEditor::getStartChannel | ( | ) |
void GenericEditor::highlight | ( | ) |
bool GenericEditor::keyPressed | ( | const KeyPress & | key | ) |
void GenericEditor::paint | ( | Graphics & | g | ) |
void GenericEditor::refreshColors | ( | ) |
void GenericEditor::select | ( | ) |
void GenericEditor::selectChannels | ( | Array< int > | ) |
void GenericEditor::setEnabledState | ( | bool | ) |
|
inlinevirtual |
Reimplemented in SpikeDetectorEditor, and SignalGeneratorEditor.
|
virtual |
|
inlinevirtual |
Reimplemented in SplitterEditor.
|
inlinevirtual |
Reimplemented in MergerEditor, and SplitterEditor.
void GenericEditor::switchSelectedState | ( | ) |
|
inlinevirtual |
Reimplemented in MergerEditor.
|
inlinevirtual |
Reimplemented in MergerEditor.
|
inlinevirtual |
|
inline |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in VisualizerEditor.
float GenericEditor::accumulator |
|
protected |
int GenericEditor::desiredWidth |
|
protected |
|
protected |
bool GenericEditor::isFading |
int GenericEditor::nodeId |
Font GenericEditor::titleFont |