public class TextCellModel extends CellModel
cellNameProperty
Constructor and Description |
---|
TextCellModel(org.processmining.contexts.uitopia.UIPluginContext context,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
bindComment(javafx.beans.property.Property<java.lang.String> stringProperty)
Binds StringProperty to the comment so they will always contain the same value.
|
java.lang.String |
getComment()
Returns the string value contained in the StringProperty.
|
javafx.beans.property.StringProperty |
getCommentProperty()
Returns the modifiable StringProperty
|
void |
setComment(java.lang.String comment)
If comment is set fire a property change to update the corresponding UI component
|
bindCellName, cellNameProperty, getCellName, getContext, getIndex, getProperty, getStatusBar, isHidden, setCellName, setContext, setHidden, setIndex, setStatusBar
public TextCellModel(org.processmining.contexts.uitopia.UIPluginContext context, int index)
public void bindComment(javafx.beans.property.Property<java.lang.String> stringProperty)
stringProperty
- The variable to bind to the comment.public void setComment(java.lang.String comment)
comment
- comment displayed in the text area of the text cellpublic java.lang.String getComment()
public javafx.beans.property.StringProperty getCommentProperty()