Back to project page temaki.
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.
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; } }