NoteTask

Inheritance: java.lang.Object, com.aspose.note.TagExtended, com.aspose.note.CheckBox

public final class NoteTask extends CheckBox

Represents a note task.

Methods

MethodDescription
createFollowUpNextWeek()* Creates a new note tag with FollowUpNextWeekFlag icon.
createFollowUpThisWeek()* Creates a new note tag with FollowUpThisWeekFlag icon.
createFollowUpToday()* Creates a new note tag with FollowUpTodayFlag icon.
createFollowUpTomorrow()* Creates a new note tag with FollowUpTomorrowFlag icon.
createNoFollowUpDate()* Creates a new note tag with NoFollowUpDateFlag icon.
createCustomFollowUpDate(Date dueDate)Creates a new note task with NoFollowUpDateFlag icon and specified due date.
getDueDate()Gets or sets the due date.
setDueDate(Date value)Gets or sets the due date.
getIcon()Gets or sets the icon.
setOpen()Sets the tag to open state.
equals(Object obj)Determines whether the specified object is equal to the current object.
equals(NoteTask other)Determines whether the specified object is equal to the current object.
hashCode()Serves as a hash function for the type.
getLabel()

createFollowUpNextWeek()

public static NoteTask createFollowUpNextWeek()

* Creates a new note tag with FollowUpNextWeekFlag icon.

Returns: NoteTask - The NoteTask.

createFollowUpThisWeek()

public static NoteTask createFollowUpThisWeek()

* Creates a new note tag with FollowUpThisWeekFlag icon.

Returns: NoteTask - The NoteTask.

createFollowUpToday()

public static NoteTask createFollowUpToday()

* Creates a new note tag with FollowUpTodayFlag icon.

Returns: NoteTask - The NoteTask.

createFollowUpTomorrow()

public static NoteTask createFollowUpTomorrow()

* Creates a new note tag with FollowUpTomorrowFlag icon.

Returns: NoteTask - The NoteTask.

createNoFollowUpDate()

public static NoteTask createNoFollowUpDate()

* Creates a new note tag with NoFollowUpDateFlag icon.

Returns: NoteTask - The NoteTask.

createCustomFollowUpDate(Date dueDate)

public static NoteTask createCustomFollowUpDate(Date dueDate)

Creates a new note task with NoFollowUpDateFlag icon and specified due date.

Parameters:

ParameterTypeDescription
dueDatejava.util.DateThe due Date.

Returns: NoteTask - The NoteTask.

getDueDate()

public Date getDueDate()

Gets or sets the due date.

Value: The DateTime .

Returns: java.util.Date

setDueDate(Date value)

public void setDueDate(Date value)

Gets or sets the due date.

Value: The DateTime .

Parameters:

ParameterTypeDescription
valuejava.util.Date

getIcon()

public int getIcon()

Gets or sets the icon.

Value: The TagIcon.

Returns: int

setOpen()

public void setOpen()

Sets the tag to open state.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified object is equal to the current object.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe object.

Returns: boolean - The bool .

equals(NoteTask other)

public boolean equals(NoteTask other)

Determines whether the specified object is equal to the current object.

Parameters:

ParameterTypeDescription
otherNoteTaskThe object.

Returns: boolean - The bool .

hashCode()

public int hashCode()

Serves as a hash function for the type.

Returns: int - The int .

getLabel()

public String getLabel()

Returns: java.lang.String