Class View

java.lang.Object
eu.bandm.music.applications.myKdF.View

public class View extends Object
GUI, containing all run-time user interaction widgets. Only one instance per application run.
  • Field Details

    • container

      final Container container
      The top-level awt/swing container for all generated widgets.
    • control

      final Control control
      The instance of control which interacts bi-directionally with this instance.
    • formplanView

      final FormplanView formplanView
      The widget which presents the formplan of the currently selected movement.
    • stimmen

      final View.Stimme[] 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

      final View.RepresentationSelection representationSelection
      Central widget to select the audio and visible definitions of the different material layers.
    • tuningSelection

      final View.TuningSelection tuningSelection
      Central widget to select the pitch tuning.
    • ACTIVE_COLOR

      static final Color ACTIVE_COLOR
      Background of the name label of the material slider, when it is currently playing.
    • INACTIVE_COLOR

      static final Color INACTIVE_COLOR
      Background of the name label of the material slider, when it is not currently playing.
    • color_inactive_foreground

      public static final Color color_inactive_foreground
    • color_inactive_background

      public static final Color color_inactive_background
    • DISABLED_LABEL_TEXT

      public static final String DISABLED_LABEL_TEXT
      Label of voices and materials when they are disabled because not required for the currently selected movement.
      See Also:
  • Constructor Details

  • Method Details

    • getStimme

      View.Stimme getStimme(int i)
      Get the GUI for the voice with the given index (0 to 3).
    • updatePieceSelection

      public void updatePieceSelection(Formplan_fuge plan, float msec_per_whole)
      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

      public 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.