com.aspose.note

Class NoteTask

  • All Implemented Interfaces:
    ITag


    public final class NoteTask
    extends CheckBox

    Represents a note task.

    • Constructor Detail

      • NoteTask

        @Deprecated
        public NoteTask()
        Deprecated. Obsolete since 21.9 release. Use static methods to create tag of appropriate kind.

        Initializes a new instance of the NoteTask class.

    • Method Detail

      • createFollowUpNextWeek

        public static NoteTask createFollowUpNextWeek()

        * Creates a new note tag with FollowUpNextWeekFlag icon.

        Returns:
        The NoteTask.
      • createFollowUpThisWeek

        public static NoteTask createFollowUpThisWeek()

        * Creates a new note tag with FollowUpThisWeekFlag icon.

        Returns:
        The NoteTask.
      • createFollowUpToday

        public static NoteTask createFollowUpToday()

        * Creates a new note tag with FollowUpTodayFlag icon.

        Returns:
        The NoteTask.
      • createFollowUpTomorrow

        public static NoteTask createFollowUpTomorrow()

        * Creates a new note tag with FollowUpTomorrowFlag icon.

        Returns:
        The NoteTask.
      • createNoFollowUpDate

        public static NoteTask createNoFollowUpDate()

        * Creates a new note tag with NoFollowUpDateFlag icon.

        Returns:
        The NoteTask.
      • createCustomFollowUpDate

        public static NoteTask createCustomFollowUpDate(Date dueDate)

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

        Parameters:
        dueDate - The due Date.
        Returns:
        The NoteTask.
      • getTaskType

        @Deprecated
        public final int getTaskType()
        Deprecated. Obsolete since 21.9 release. Avoid usage of this property.

        Gets or sets the task type.

        Value: The TaskType(getTaskType()/setTaskType(int)).
      • setTaskType

        @Deprecated
        public final void setTaskType(int value)
        Deprecated. Obsolete since 21.9 release. Avoid usage of this property.

        Gets or sets the task type.

        Value: The TaskType(getTaskType()/setTaskType(int)).
      • getDueDate

        public Date getDueDate()

        Gets or sets the due date.

        Value: The DateTime.
      • setDueDate

        public void setDueDate(Date value)

        Gets or sets the due date.

        Value: The DateTime.
      • getIcon

        public int getIcon()

        Gets or sets the icon.

        Value: The TagIcon.
        Specified by:
        getIcon in interface ITag
        Specified by:
        getIcon in class CheckBox
      • setIcon

        @Deprecated
        public void setIcon(int value)
        Deprecated. Obsolete since 21.9 release. Use SetCompleted method if appropriate.

        Gets or sets the icon.

        Value: The TagIcon.
        Specified by:
        setIcon in interface ITag
        Specified by:
        setIcon in class CheckBox
      • setOpen

        public void setOpen()

        Sets the tag to open state.

        Overrides:
        setOpen in class CheckBox
      • equals

        public boolean equals(Object obj)

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

        Overrides:
        equals in class Object
        Parameters:
        obj - The object.
        Returns:
        The bool.
      • equals

        public boolean equals(NoteTask other)

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

        Parameters:
        other - The object.
        Returns:
        The bool.
      • hashCode

        public int hashCode()

        Serves as a hash function for the type.

        Overrides:
        hashCode in class Object
        Returns:
        The int.
      • getLabel

        public String getLabel()
        Description copied from interface: ITag

        Gets the label text.