Package com.ribomation.droidAtScreen

Examples of com.ribomation.droidAtScreen.Settings


    this.app = app;
    this.device = device;
    this.log = Logger.getLogger(DeviceFrame.class.getName() + ":" + device.getName());
    log.debug(String.format("DeviceFrame(device=%s)", device));

    Settings cfg = app.getSettings();
    setScale(cfg.getPreferredScale());
    setLandscapeMode(cfg.isLandscape());

    setTitle(device.getName());
    setIconImage(GuiUtil.loadIcon("device").getImage());
    setResizable(true);
View Full Code Here


    chooser.addChoosableFileFilter(new FileNameExtensionFilter("Image Files", exts));
    return chooser;
  }

  private File suggestFilename(Application app) {
    Settings cfg = app.getSettings();
    return new File(cfg.getImageDirectory(), String.format("%s-%d.%s", app.getInfo().getName().toLowerCase(), cfg.nextInt(), cfg.getImageFormat().toLowerCase()));
  }
View Full Code Here

TOP

Related Classes of com.ribomation.droidAtScreen.Settings

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.