SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConnectionComponent.h
Go to the documentation of this file.
1 /*
2  ==============================================================================
3 
4  This is an automatically generated GUI class created by the Introjucer!
5 
6  Be careful when adding custom code to these files, as only the code within
7  the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
8  and re-saved.
9 
10  Created with Introjucer version: 3.1.0
11 
12  ------------------------------------------------------------------------------
13 
14  The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
15  Copyright 2004-13 by Raw Material Software Ltd.
16 
17  ==============================================================================
18 */
19 
20 #ifndef __JUCE_HEADER_A6D0D14F17594572__
21 #define __JUCE_HEADER_A6D0D14F17594572__
22 
23 //[Headers] -- You can add your own extra header files here --
24 #include "JuceHeader.h"
25 #include "PluginProcessor.h"
26 #include "Parsetools.h"
27 #include "SpaopEditorComponent.h"
28 #include "SourceController.h"
29 //[/Headers]
30 
31 
32 
33 //==============================================================================
47  public TextEditor::Listener,
48  public ButtonListener
49 {
50 public:
51  //==============================================================================
54 
55  //==============================================================================
56  //[UserMethods] -- You can add your own custom methods in this section.
57  void update() override;
58 
59 private:
60  void textEditorTextChanged(TextEditor& textEditor);
61 
62  void textEditorReturnKeyPressed(TextEditor& textEditor);
63 
65  static Colour connectionColour(wonder::ConnectionStates cStatus);
66 
67 public:
68  //[/UserMethods]
69 
70  void paint (Graphics& g);
71  void resized();
72  void buttonClicked (Button* buttonThatWasClicked);
73 
74 
75 
76 private:
77  //[UserVariables] -- You can add your own custom variables in this section.
78  bool cwAddressIsBeingEdited_;
79  //[/UserVariables]
80 
81  //==============================================================================
82  ScopedPointer<GroupComponent> infoGroupComponent;
83  ScopedPointer<GroupComponent> modeGroupComponent;
84  ScopedPointer<GroupComponent> cwGroupComponent;
85  ScopedPointer<TextEditor> cwIpEditor;
86  ScopedPointer<TextEditor> cwPortEditor;
87  ScopedPointer<Label> ipLabel;
88  ScopedPointer<Label> portLabel;
89  ScopedPointer<TextButton> confirmCwButton;
90  ScopedPointer<ToggleButton> linkWonderButton;
91  ScopedPointer<Label> addrLabel;
92  ScopedPointer<Label> urlLabel;
93  ScopedPointer<Label> cStatusLabel;
94 
95 
96  //==============================================================================
97  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ConnectionComponent)
98 };
99 
100 //[EndFile] You can add extra defines here...
101 //[/EndFile]
102 
103 #endif // __JUCE_HEADER_A6D0D14F17594572__
void update() override
To be called by the main SpaopAudioProcessorEditor to make this component update its values to the cu...
Definition: ConnectionComponent.cpp:204
[Comments]
Definition: ConnectionComponent.h:46
void resized()
Definition: ConnectionComponent.cpp:155
ConnectionStates
An enum describing the differents states of an incoming connection.
Definition: WonderHeader.h:134
ConnectionComponent(SpaopAudioProcessor *ownerFilter)
Definition: ConnectionComponent.cpp:30
~ConnectionComponent()
Definition: ConnectionComponent.cpp:122
An abstract class for GUI subcomponents of the SpaopAudioProcessorEditor.
Definition: SpaopEditorComponent.h:37
void buttonClicked(Button *buttonThatWasClicked)
Definition: ConnectionComponent.cpp:173
void paint(Graphics &g)
Definition: ConnectionComponent.cpp:146
The SPAOP-plugin's processor class.
Definition: PluginProcessor.h:42