Android Open Source - AnyadsTodos Task






From Project

Back to project page AnyadsTodos.

License

The source code is released under:

GNU General Public License

If you think the Android project AnyadsTodos 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 com.dlacours.anyadstodos;
/*  w w w.j  a va2s. co m*/
public class Task {
  /*This class represents every task in the app.
   * It contains booleans, getters, and setters 
   * that allow other classes to learn about 
   * the tasks*/
  protected String taskName;
  protected boolean isChecked;
  protected boolean isArchived;
  protected boolean isRemoved;
  protected boolean toEmail;
  
  public Task(String taskName) {
    this.taskName=taskName;
    this.isChecked = false;
    this.isArchived = false;
    this.isRemoved = false;
    this.toEmail = false;
  }

  public void setChecked(boolean checked){
    isChecked = checked;
  }
  
  public boolean getChecked(){
    return isChecked;
  }
  
  public void setArchived(boolean archived){
    isArchived = archived;
  }
  
  public boolean getArchived(){
    return isArchived;
  }
  
  public void setRemoved(boolean removed){
    isRemoved = removed;
  }
  
  public boolean getRemoved(){
    return isRemoved;
  }
  
  public String getTask() {
    return this.taskName;
  }
  
  public String toString(){
    return getTask();
  }

  public boolean getEmail() {
    return toEmail;
  }

  public void setEmail(boolean email){
    toEmail = email;
  }
}




Java Source Code List

com.dlacours.anyadstodos.ArchiveTaskAdapter.java
com.dlacours.anyadstodos.ArchiveTasksActivity.java
com.dlacours.anyadstodos.EditTaskAdapter.java
com.dlacours.anyadstodos.EditTasksActivity.java
com.dlacours.anyadstodos.MailItemsActivity.java
com.dlacours.anyadstodos.MailItemsAdapter.java
com.dlacours.anyadstodos.MainActivity.java
com.dlacours.anyadstodos.SummariesActivity.java
com.dlacours.anyadstodos.TaskListAdapter.java
com.dlacours.anyadstodos.TaskListController.java
com.dlacours.anyadstodos.TaskList.java
com.dlacours.anyadstodos.Task.java