Android Open Source - temaki Temaki Item






From Project

Back to project page temaki.

License

The source code is released under:

Apache License

If you think the Android project temaki 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.jmartin.temaki.model;
/*  www  .ja va  2 s.c  om*/
/**
 * Created by jeff on 2013-08-29.
 */
public class TemakiItem {
    private String text;
    private boolean isHighlighted = false;
    private boolean isFinished = false;

    public TemakiItem(String text) {
        this.text = text;
    }

    public TemakiItem(String text, boolean finished, boolean highlighted) {
        this.text = text;
        this.isFinished = finished;
        this.isHighlighted = highlighted;
    }

    public boolean isFinished() {
        return this.isFinished;
    }

    public boolean isHighlighted() {
        return this.isHighlighted;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String newText) {
        this.text = newText;
    }

    public void toggleFinished() {
        this.isFinished = !this.isFinished;
    }

    public void toggleHighlighted() {
        this.isHighlighted = !this.isHighlighted;
    }
}




Java Source Code List

com.jmartin.temaki.FocusActivity.java
com.jmartin.temaki.MainDrawerActivity.java
com.jmartin.temaki.MainListsFragment.java
com.jmartin.temaki.adapter.DrawerListAdapter.java
com.jmartin.temaki.adapter.ListItemsAdapter.java
com.jmartin.temaki.dialog.DeleteConfirmationDialog.java
com.jmartin.temaki.dialog.GenericInputDialog.java
com.jmartin.temaki.model.Constants.java
com.jmartin.temaki.model.TemakiItem.java
com.jmartin.temaki.settings.InformationDialogPreference.java
com.jmartin.temaki.settings.SettingsActivity.java
com.jmartin.temaki.settings.SettingsFragment.java