Interface LanguageBodyEditor
-
@OpenApiAll public interface LanguageBodyEditorLanguage body editor - allows to have a custom editor for the body of the language. Should be created byLanguageBodyEditorFactory.- See Also:
LanguageBodyEditorFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBody()Get editing body.java.awt.ComponentgetComponent()Get editor component.voidsetBody(java.lang.String body)Set body to edit.voidsetEditable(boolean editable)Change editor editing state.
-
-
-
Method Detail
-
getComponent
java.awt.Component getComponent()
Get editor component.- Returns:
- editor component.
-
getBody
java.lang.String getBody()
Get editing body.- Returns:
- body.
-
setBody
void setBody(java.lang.String body)
Set body to edit.- Parameters:
body- body to edit.
-
setEditable
void setEditable(boolean editable)
Change editor editing state.- Parameters:
editable- if editable.
-
-