Class ScoreLayoutManagerEnumerator

java.lang.Object
com.softsynth.jmsl.score.ScoreLayoutManagerEnumerator
All Implemented Interfaces:
java.util.Enumeration

public class ScoreLayoutManagerEnumerator
extends java.lang.Object
implements java.util.Enumeration
Enumerate through all Notes displayed on a page
Reads left to right, top staff to bottom staff, enumerating all notes that would belong to a contiguous "melody". In other words, runs through all measures multiple times, one pass for each track of each staff. JMSL Notation Project
Author:
Nick Didkovsky, copyright 2000 Nick Didkovsky
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String copyright  
  • Constructor Summary

    Constructors
    Constructor Description
    ScoreLayoutManagerEnumerator​(Score score, int startingMeasure, int numMeasures)  
  • Method Summary

    Modifier and Type Method Description
    boolean hasMoreElements()  
    java.lang.Object nextElement()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Enumeration

    asIterator
  • Field Details

  • Constructor Details

    • ScoreLayoutManagerEnumerator

      public ScoreLayoutManagerEnumerator​(Score score, int startingMeasure, int numMeasures)
  • Method Details

    • hasMoreElements

      public boolean hasMoreElements()
      Specified by:
      hasMoreElements in interface java.util.Enumeration
    • nextElement

      public java.lang.Object nextElement()
      Specified by:
      nextElement in interface java.util.Enumeration