Ejemplo n.º 1
0
        /** Assume that _symbolPositioner has already been set.
         * Add all the time slices in this measure to the _symbolPositioner.
         * This is called by getSymbolCount() when it is initializing all the
         * similar measures in the staff system.
         */
        private void addToSymbolPositioner()
        {
            for (int i = 0; i < getTimeSliceCount(); ++i)
            {
                TimeSlice timeSlice = getTimeSlice(i);

                _symbolPositioner.add
                    (timeSlice.getStartTime(), timeSlice.getLeftPositionedSymbolCount());
            }
        }