Protected
activeProtected
activeProtected
activeProtected
currentProtected
globalProtected
graphicalProtected
leadProtected
measureProtected
measureProtected
musicProtected
numberProtected
rulesProtected
visibleProtected
adaptIf a line repetition is ending and a new line repetition is starting at the end of the system, the double repetition line has to be split into two: one at the currently ending system and one at the next system. (this should be refactored at some point to not use a combined end/start line but always separated lines)
Protected
addCalculate the width needed for Instructions (Key, Clef, Rhythm, Repetition) for the measure.
Protected
addCalculates the width needed for Instructions (Clef, Repetition) for the measure.
Protected
addProtected
AddProtected
addProtected
addProtected
addCalculate the [StaffLine] needed for a [[MusicSystem]].
Protected
addAdd all current vertical Measures to currentSystem.
Protected
addProtected
calculateCalculates the relative Positions of all MusicSystems.
calculates the y positions of the staff lines within a system and furthermore the y positions of the systems themselves.
Protected
calculateXScalingCalculate the X ScalingFactor in order to strech the whole System.
Protected
checkCheck if an extra Instruction [[Measure]] is needed.
Protected
createCreate a new [[GraphicalMusicPage]] (for now only one long page is used per music sheet, as we scroll down and have no page flips)
Protected
decreaseIf the last [[MusicSystem]] doesn't need stretching, then this method decreases the System's Width, the [[StaffLine]]'s Width and the 5 [[StaffLine]]s length.
Protected
finalizeWhen the actual source measure doesn't fit any more, this method finalizes the current system and opens up a new empty system, where the actual measure will be added in the next iteration.
Protected
finalizeProtected
getGet the width the system should have for a given page width.
Protected
getReturn the width of the corresponding [[SystemLine]] and sets the corresponding [[SystemLineEnum]].
Protected
getProtected
getReturn the width of the corresponding [[SystemLine]] and set the corresponding [[SystemLineEnum]].
Protected
getProtected
initializeInitialize the active Instructions from the first [[SourceMeasure]] of first [[SourceMusicPart]].
Protected
initInitialize a new [[MusicSystem]].
Protected
layoutProtected
nextCheck if a [[Repetition]] starts at the next [[Measure]].
Protected
nextCheck if a [[Repetition]] starts at the next [[Measure]].
Protected
nextCheck if the next [[Measure]] has a [[KeyInstruction]] change.
Protected
optimizeThis method checks the distances between any two consecutive StaffLines of a System and if needed, shifts the lower one down.
Protected
previousProtected
setSet the Width of the staff-Measures of one source measure.
Protected
stretchStretch the whole System so that no white space is left at the end.
Protected
thisCheck if at this [[Measure]] starts a [[Repetition]].
Protected
thisCheck if this [[Measure]] is a [[Repetition]] ending.
Protected
thisCheck if this [[Measure]] is a [[Repetition]] ending.
Protected
transposeProtected
updateTrack down and update the active ClefInstruction in Measure's StaffEntries. This has to be done after the measure is added to a system (otherwise already the check if the measure fits to the system would update the active clefs..)
Protected
updateThis method updates the System's StaffLine's RelativePosition (starting from the given index).
Does the mapping from the currently visible staves to the global staff-list of the music sheet.