CheckBox

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

public abstract class CheckBox extends TagExtended

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

Methods

MethodDescription
getCreationTime()Gets or sets the creation time.
setCreationTime(Date value)Gets or sets the creation time.
getCompletedTime()Gets or sets the completed time.
getStatus()Gets or sets the status.
getIcon()Gets or sets the icon.
getChecked()Gets a value indicating whether the CheckBox is in the checked state.
setCompleted(Date completedTime)Sets the tag to completed state.
setCompleted()Sets the tag to completed state using current time as completed time.
setOpen()Sets the tag to open state.

getCreationTime()

public final Date getCreationTime()

Gets or sets the creation time.

Value: The java.util.Date.

Returns: java.util.Date

setCreationTime(Date value)

public final void setCreationTime(Date value)

Gets or sets the creation time.

Value: The java.util.Date.

Parameters:

ParameterTypeDescription
valuejava.util.Date

getCompletedTime()

public final Date getCompletedTime()

Gets or sets the completed time.

Value: The Nullable{DateTime} .

Returns: java.util.Date

getStatus()

public final int getStatus()

Gets or sets the status.

Value: The TagStatus.

Returns: int

getIcon()

public abstract int getIcon()

Gets or sets the icon.

Value: The TagIcon.

Returns: int

getChecked()

public final boolean getChecked()

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

Returns: boolean

setCompleted(Date completedTime)

public final void setCompleted(Date completedTime)

Sets the tag to completed state.

Parameters:

ParameterTypeDescription
completedTimejava.util.DateThe 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.