com.aspose.note

Class CheckBox

  • All Implemented Interfaces:
    ITag
    Direct Known Subclasses:
    NoteCheckBox, NoteTask


    public abstract class CheckBox
    extends Object
    implements ITag

    The base class for tags that can toggle their state between complete and incomplete.

    • Method Detail

      • getCreationTime

        public final Date getCreationTime()

        Gets or sets the creation time.

        Value: The Date.
        Specified by:
        getCreationTime in interface ITag
      • setCreationTime

        public final void setCreationTime(Date value)

        Gets or sets the creation time.

        Value: The Date.
        Specified by:
        setCreationTime in interface ITag
      • getCompletedTime

        public final Date getCompletedTime()

        Gets or sets the completed time.

        Value: The Nullable{DateTime}.
        Specified by:
        getCompletedTime in interface ITag
      • setCompletedTime

        @Deprecated
        public final void setCompletedTime(Date value)
        Deprecated. Obsolete since 21.9 release. Use SetCompleted method if appropriate.

        Gets or sets the completed time.

        Value: The Nullable{DateTime}.
        Specified by:
        setCompletedTime in interface ITag
      • getStatus

        public final int getStatus()

        Gets or sets the status.

        Value: The TagStatus.
        Specified by:
        getStatus in interface ITag
      • setStatus

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

        Gets or sets the status.

        Value: The TagStatus.
        Specified by:
        setStatus in interface ITag
      • getIcon

        public abstract int getIcon()

        Gets or sets the icon.

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

        @Deprecated
        public abstract 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
      • getChecked

        public final boolean getChecked()

        Gets a value indicating whether the CheckBox is in the checked state.

      • setCompleted

        public final void setCompleted(Date completedTime)

        Sets the tag to completed state.

        Parameters:
        completedTime - The completed time.
      • setCompleted

        public final void setCompleted()

        Sets the tag to completed state using current time as completed time.

      • setOpen

        public void setOpen()

        Sets the tag to open state.