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

getChecked()

public final boolean getChecked()

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

Returns: boolean

getCompletedTime()

public final Date getCompletedTime()

Gets or sets the completed time.

Value: The Nullable\{DateTime\}.

Returns: java.util.Date

getCreationTime()

public final Date getCreationTime()

Gets or sets the creation time.

Value: The java.util.Date.

Returns: java.util.Date

getIcon()

public abstract int getIcon()

Gets or sets the icon.

Value: The TagIcon.

Returns: int

getStatus()

public final int getStatus()

Gets or sets the status.

Value: The TagStatus.

Returns: int

setCompleted()

public final void setCompleted()

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

setCompleted(Date completedTime)

public final void setCompleted(Date completedTime)

Sets the tag to completed state.

Parameters:

ParameterTypeDescription
completedTimejava.util.DateThe completed time.

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

setOpen()

public void setOpen()

Sets the tag to open state.