docs: public boolean setCurrentYLocation(int targetPageIndex, int targetLocationOnPage)
      {
  //?        if ((targetPageIndex != currentPageIndex) || (targetLocationOnPage != currentLocationOnPage))
              this.resetAll();    // If I'm not using the cached values, reset to start
  
          boolean pageDone = false;
          
          while (pageDone == false)
          {
              if (currentComponent == null)
                  break;
              
              componentPageHeight = this.calcComponentPageHeight();
              
              if (currentPageIndex > targetPageIndex)
                  break;
              if (currentPageIndex == targetPageIndex)
                  if (currentLocationOnPage >= targetLocationOnPage)
                      break;  // Target location reached. Return this current component, stats
  
              remainingComponentHeight = remainingComponentHeight + this.checkComponentHeight();
              if (remainingComponentHeight < remainingPageHeight)
              {   // This component will fit on this page.
                  currentLocationOnPage = currentLocationOnPage + remainingComponentHeight;
                  remainingPageHeight = remainingPageHeight - remainingComponentHeight;
  
                  componentIndex++;
                  currentComponent = this.getComponent(componentIndex);
                  componentStartYLocation = 0;
                  if (currentComponent != null)
                      remainingComponentHeight = currentComponent.getHeight();
              }
              else
              {   // This component goes past the end of the page
                  componentStartYLocation = componentStartYLocation + componentPageHeight;
                  if (targetPageIndex == currentPageIndex)
                      pageDone = true;    // The target page is completely scanned
  
                  currentPageIndex++;
                  currentLocationOnPage = 0;
                  remainingComponentHeight = remainingComponentHeight - componentPageHeight;
                  remainingPageHeight = pageHeight;
             }
          }
          
          return pageDone;    // Page done
      }