Package com.screenrunner.data

Examples of com.screenrunner.data.PlaylistPage


    Display.setWindowMode(index);
    Display.positionWindow();
  }
 
  private void presentationShowSelectedItem() {
    PlaylistPage page = (PlaylistPage)presentationSlideList.getSelectedValue();
    if(page == null) return;
   
    Display.getDisplay().prepareNextBackground(ScreenRunner.currentStyle, page.getItem().getStyleType());
    Display.getDisplay().prepareNextSlide(page.getItem(), page.getPage(), ScreenRunner.currentStyle);
   
    Display.getDisplay().applyChanges();
  }
View Full Code Here


  }
 
  private void presentationRefreshDisplay() {
    Display disp = Display.getDisplay();
    Style style = ScreenRunner.currentStyle;
    PlaylistPage page = new PlaylistPage(null, -1);
   
    int idx = presentationSlideList.getSelectedIndex();
    if(idx > -1) {
      page = (PlaylistPage)ScreenRunner.playlist.getPagesModel().getElementAt(idx);
      if(page == null) {
        disp.prepareNextBackground(style, "default");
        disp.prepareNextSlide(null, 0, style);
      } else {
        disp.prepareNextBackground(style, page.getItem().getStyleType());
        disp.prepareNextSlide(page.getItem(), page.getPage(), style);
      }
    } else {
      disp.prepareNextBackground(style, "default");
      disp.prepareNextSlide(null, 0, style);
    }
View Full Code Here

TOP

Related Classes of com.screenrunner.data.PlaylistPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.