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, removeEditorModelListener
public Settings getSettings()
EditorModel
getSettings
in interface EditorModel
public String getEditorText()
EditorModel
getEditorText
in interface EditorModel
public void setEditorText(String text)
EditorModel
setEditorText
in interface EditorModel
text
- the editor text to savepublic void release()
release
in class AbstractEditorModel
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2019. All Rights Reserved.