public class ModelItemPropertyEditorModel<T extends ModelItem> extends AbstractEditorModel implements PropertyChangeListener
EditorModel.EditorModelListener| Constructor and Description |
|---|
ModelItemPropertyEditorModel(T modelItem,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEditorText()
Returns the text to display in the editor
|
Settings |
getSettings()
Return the settings to use for storing customizations (line-numbers, etc)
|
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
setEditorText(String text)
Save the text in the editor, usually called when the contents of the
editor have changed
|
addEditorModelListener, fireEditorTextChanged, removeEditorModelListenerpublic Settings getSettings()
EditorModelgetSettings in interface EditorModelpublic String getEditorText()
EditorModelgetEditorText in interface EditorModelpublic void setEditorText(String text)
EditorModelsetEditorText in interface EditorModeltext - the editor text to savepublic void release()
release in class AbstractEditorModelpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2019. All Rights Reserved.