Package com.screenrunner.data

Examples of com.screenrunner.data.ImageSlide


    String[] paths = dlg.getSelectedPaths();
    String s = "";
    for(int i = 0; i < paths.length; i++) {
      s += (i == 0 ? "" : File.pathSeparator) + paths[i];
    }
    ImageSlide is = new ImageSlide();
    is.setUserData(s);
    ScreenRunner.playlist.add(is);
  }
View Full Code Here


   * Called when the "display" button is clicked in immediate mode.
   * Shows the currently selected media on the display/preview screens.
   */
  private void showSelectedMedia() {
    int idx = itemsList.getSelectedIndex();
    ImageSlide imgslide = new ImageSlide();
    if(idx == -1) {
      Display.getDisplay().prepareNextBackground(ScreenRunner.currentStyle, imgslide.getStyleType());
      Display.getDisplay().prepareNextSlide(null, 1, ScreenRunner.currentStyle);
    } else {
      Display.getDisplay().prepareNextBackground(ScreenRunner.currentStyle, imgslide.getStyleType());
      imgslide.setUserData(getImageSlidePathString());
      Display.getDisplay().prepareNextSlide(imgslide, 1, ScreenRunner.currentStyle);
    }
    Display.getDisplay().applyChanges();
   
    //if(idx < (fileList.size() - 1)) itemsList.setSelectedIndex(idx + 1);
View Full Code Here

TOP

Related Classes of com.screenrunner.data.ImageSlide

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.