Android Open Source - Moka-Scanr Options






From Project

Back to project page Moka-Scanr.

License

The source code is released under:

GNU General Public License

If you think the Android project Moka-Scanr listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package io.github.nick11roberts.pdf_drive;
//  w  w  w .j  av  a  2 s.c o m
import java.io.Serializable;

@SuppressWarnings("serial") // Hide warnings. 
public class Options implements Serializable {
  
  // Option variables. 
  private String title;
  private String folder;
  private int numberOfPages;
  
  // Constructor
  Options(){ // Sets initial values.
    title = "";
    folder = "";
    numberOfPages = 0;
  }
  
  // Setters.
  public void setTitle(String input){
    title = input;
  }
  
  public void setFolder(String input){
    folder = input;
  }
  
  public void setNumberOfPages(int input){
    numberOfPages = input;
  }
  
  // Getters.
  public String getTitle(){
    return title;
  }
  
  public String getFolder(){
    return folder;
  }
  
  public int getNumberOfPages(){
    return numberOfPages;
  }
  
}




Java Source Code List

io.github.nick11roberts.pdf_drive.MainActivity.java
io.github.nick11roberts.pdf_drive.OptionsActivity.java
io.github.nick11roberts.pdf_drive.Options.java
io.github.nick11roberts.pdf_drive.PreviewActivity.java