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
createCustomFollowUpDate(Date dueDate)Creates a new note task with NoFollowUpDateFlag icon and specified due date.
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.
equals(NoteTask other)Determines whether the specified object is equal to the current object.
equals(Object obj)Determines whether the specified object is equal to the current object.
getDueDate()Gets or sets the due date.
getIcon()Gets or sets the icon.
getLabel()
hashCode()Serves as a hash function for the type.
setDueDate(Date value)Gets or sets the due date.
setOpen()Sets the tag to open state.

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.

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.

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.

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.

getDueDate()

public Date getDueDate()

Gets or sets the due date.

Value: The DateTime.

Returns: java.util.Date

getIcon()

public int getIcon()

Gets or sets the icon.

Value: The TagIcon.

Returns: int

getLabel()

public String getLabel()

Returns: java.lang.String

hashCode()

public int hashCode()

Serves as a hash function for the type.

Returns: int - The int.

setDueDate(Date value)

public void setDueDate(Date value)

Gets or sets the due date.

Value: The DateTime.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setOpen()

public void setOpen()

Sets the tag to open state.