Android Open Source - OrdPek Image Entry






From Project

Back to project page OrdPek.

License

The source code is released under:

MIT License

If you think the Android project OrdPek 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 se.henkan.ordpek;
//from   w  w  w  .ja  v  a2s.  c om
/**
 * Created by Henkan on 2014-10-03.
 */
public class ImageEntry {

    // Private variables
    int _id;
    String _filePath;
    String _name;
    String _firstLetter;


    // Empty constructor
    public ImageEntry(){

    }

    // Constructor
    public ImageEntry(int id, String filePath, String name){
        this._id = id;
        this._filePath = filePath;
        this._name = name;
        this._firstLetter = name.substring(0,1);
    }

    // Constructor
    public ImageEntry(String filePath, String name){
        this._filePath = filePath;
        this._name = name;
        this._firstLetter = name.substring(0,1);
    }

    // Get ID
    public int get_id() {
        return _id;
    }
    // Set ID
    public void set_id(int id) {
        this._id = id;
    }
    // Get FILE_PATH
    public String get_filePath() {
        return _filePath;
    }
    // Set FILE_PATH
    public void set_filePath(String filePath) {
        this._filePath = filePath;
    }
    // get NAME
    public String get_name() {
        return _name;
    }
    // set NAME
    public void set_name(String name) {
        this._name = name;
        this._firstLetter = name.substring(0,1);
    }
    // get FIRST_LETTER
    public String get_firstLetter() {
        return _firstLetter;
    }
    // set FIRST_LETTER  <========================REMOVE???
    public void set_firstLetter(String firstLetter) {
        this._firstLetter = firstLetter;
    }
}




Java Source Code List

se.henkan.ordpek.AddImageActivity.java
se.henkan.ordpek.ApplicationTest.java
se.henkan.ordpek.ChooseImageActivity.java
se.henkan.ordpek.ChooseWordActivity.java
se.henkan.ordpek.EditImageActivity.java
se.henkan.ordpek.ImageEntry.java
se.henkan.ordpek.InitialLetterActivity.java
se.henkan.ordpek.MainActivity.java
se.henkan.util.DatabaseHandler.java
se.henkan.util.ScalingUtilities.java