Class: CommentBoxItem

XV. CommentBoxItem

Represents an individual comment within an XV.CommentBox.

new CommentBoxItem()

Source:

Methods

commentBoxItemEdit()

When a box gets opened, we want to close unless that box is us. This will get hit on the bubble up and the waterfall down, but the waterfall down is the only time it will do anything, if it was actually originated by someone else.
Source:

controlValueChanged()

Catch events from constituent widgets and update the model
Source:

formatHeader()

Formats the text that goes at the top of each comment
Source:

formatText()

Source:
To Do:
  • Document the formatText method.

hideEditableArea()

Transition from editable mode to read-only mode
Source:

initializeNew()

When the user wants to make a new comment, we open it up for them and initialize it.
Source:

openEditableArea()

Transition from read-only mode to editable mode
Source:

setCommentTypeFilter()

Apply the filter that dictates which comment types are pertinent to this business object.
Source:

setDisabled()

We disable this view by disabling all its subcomponents.
Source:

valueChanged()

Source:
To Do:
  • Document the valueChanged method.