|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.todoroo.astrid.api.TaskDecoration
public final class TaskDecoration
Represents a line of text displayed in the Task List
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
android.os.Parcelable.Creator<T> |
| Field Summary | |
|---|---|
int |
color
Decorated task background color. |
static android.os.Parcelable.Creator<TaskDecoration> |
CREATOR
Parcelable creator |
android.widget.RemoteViews |
decoration
RemoteViews.RemoteView decoration |
int |
position
Decoration position |
static int |
POSITION_LEFT
Place decoration between completion box and task title |
static int |
POSITION_RIGHT
Place decoration between task title and importance bar |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
TaskDecoration(android.widget.RemoteViews decoration,
int position,
int color)
Creates a TaskDetail object |
|
| Method Summary | |
|---|---|
int |
describeContents()
|
void |
writeToParcel(android.os.Parcel dest,
int flags)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int POSITION_LEFT
public static final int POSITION_RIGHT
public android.widget.RemoteViews decoration
RemoteViews.RemoteView decoration
public int position
public int color
public static final android.os.Parcelable.Creator<TaskDecoration> CREATOR
| Constructor Detail |
|---|
public TaskDecoration(android.widget.RemoteViews decoration,
int position,
int color)
text - text to displaycolor - color to use for text. Use 0 for default color| Method Detail |
|---|
public int describeContents()
describeContents in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||