Class: PatternView

MusicXMLAnalyzer. PatternView

new PatternView()

Source:

Methods

<inner> addLogMessage(msg)

Method to add a log message
Parameters:
Name Type Description
msg string message to be added
Source:

<inner> disposeLogMessages()

Method to animate the log message box
Source:

<inner> endTripletEnterMode()

Method ends triplet creation mode
Source:

<inner> init()

Init function
Source:

<inner> initLogMessages()

Method to initiate log messages
Source:

<inner> onAccidentialButtonClick(event)

Method handles the mouseclick event on accidentals
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onAddButtonClick(event)

Method handles the mouseclick event on add button
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onBreakButtonClick()

Method handles the mouseclick event on break button
Source:

<inner> onDurationButtonClick(event)

Method handles the mouseclick event on durations
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onModeButtonClick(event)

Method handles the mouseclick event on mode button
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onNoteButtonClick(event)

Method handles the mouseclick event on note button
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onNoteOrBreakClick(event)

Method handles the mouseclick event on note- or break button to disable or enable octaves according to mode
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onOctaveButtonClick(event)

Method handles the mouseclick event on ocatave button
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onRemoveButtonClick()

Method handles mouse click on remove button
Source:

<inner> onRhythmNoteOrBreakClick(event)

Method handles the mouseclick event on note or break in rhythm mode to highlight user selection and change the note accordingly
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onSpecialRythButtonClick(event)

Method handles the mouseclick event on special rhythm
Parameters:
Name Type Description
event event the triggered click event
Source:

<inner> onSubmitButtonClick()

Method handles mouse click on search button, including a log message box to overcome waiting time
Source:

<inner> setAccidentialActive(acc)

Method sets the active accidental
Parameters:
Name Type Description
acc string name of the accidental
Source:

<inner> setDurationActive(duration)

Method sets the active duration
Parameters:
Name Type Description
duration string name of the duration
Source:

<inner> setNoteNameActive(noteName)

Method sets the active note
Parameters:
Name Type Description
noteName string the name of the note
Source:

<inner> setOctaveActive(octave)

Method sets the active octave
Parameters:
Name Type Description
octave string name of the octave
Source:

<inner> setPatternValue(pattern)

Method sets the pattern values
Parameters:
Name Type Description
pattern object the pattern values
Source:

<inner> setSpecRythActive(specRyth)

Method sets the active special rhythm element
Parameters:
Name Type Description
specRyth string name of the special rhythm element
Source:

<inner> setToMelodyMode()

Method changes layout according to melody mode
Source:

<inner> setToRhythmMode()

Method changes layout according to rhythm mode
Source:

<inner> setToSoundSequenceMode()

Method changes layout according to sound sequence mode
Source:

<inner> startTripletEnterMode()

Method enters triplet creation mode
Source: