Class View
java.lang.Object
eu.bandm.music.applications.myKdF.View
GUI, containing all run-time user interaction widgets.
Only one instance per application run.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Button label drawing for a schematic triangle wave.static class
Button label drawing for a schematic legato envelope.static class
Button label drawing for a schematic meno-legato envelope.static class
Button label drawing for a schematic portato envelope.static class
Button label drawing for a schematic square wave.static class
Button label drawing for a schematic saw wave.static class
Button label drawing for a schematic sine wave.static class
Button label drawing for a schematic staccatissimo envelope.(package private) class
class
Group of GUI widgets to select the material definitions.(package private) class
Collections of all widgets which control one particular voice.static class
Group of GUI widgets for tempo control.class
Group of GUI widgets for tuning control. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Color
Background of the name label of the material slider, when it is currently playing.static final Color
static final Color
(package private) final Container
The top-level awt/swing container for all generated widgets.(package private) final Control
The instance of control which interacts bi-directionally with this instance.static final String
Label of voices and materials when they are disabled because not required for the currently selected movement.(package private) final FormplanView
The widget which presents the formplan of the currently selected movement.(package private) static final Color
Background of the name label of the material slider, when it is not currently playing.(package private) final View.RepresentationSelection
Central widget to select the audio and visible definitions of the different material layers.(package private) final View.Stimme[]
All four graphic representations of the (possible) four voices.(package private) final View.TuningSelection
Central widget to select the pitch tuning. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) View.Stimme
getStimme
(int i) Get the GUI for the voice with the given index (0 to 3).void
updateEnabled
(Kdf.VoiceData[] voices, List<String> matNames) Update the sliders and slider groups and slider labels, according to the voices contained in the music score, and the material layers selected for those voices.void
updatePieceSelection
(Formplan_fuge plan, float msec_per_whole) Update the visual appearance according to a newly selected piece.
-
Field Details
-
container
The top-level awt/swing container for all generated widgets. -
control
The instance of control which interacts bi-directionally with this instance. -
formplanView
The widget which presents the formplan of the currently selected movement. -
stimmen
All four graphic representations of the (possible) four voices. All these are always shown, but grahically disabled when the selected movement has less voices. -
representationSelection
Central widget to select the audio and visible definitions of the different material layers. -
tuningSelection
Central widget to select the pitch tuning. -
ACTIVE_COLOR
Background of the name label of the material slider, when it is currently playing. -
INACTIVE_COLOR
Background of the name label of the material slider, when it is not currently playing. -
color_inactive_foreground
-
color_inactive_background
-
DISABLED_LABEL_TEXT
Label of voices and materials when they are disabled because not required for the currently selected movement.- See Also:
-
-
Constructor Details
-
View
Only constructor.
-
-
Method Details
-
getStimme
Get the GUI for the voice with the given index (0 to 3). -
updatePieceSelection
Update the visual appearance according to a newly selected piece.- Selectability of representation modes according to music score.
- Graphic plan according to default representation mode
- Routing score according to selected representation mode
- Labelling of sliders according to selected representation mode.
-
updateEnabled
Update the sliders and slider groups and slider labels, according to the voices contained in the music score, and the material layers selected for those voices.
-