Class RichPureEditor
java.lang.Object
com.codename1.ui.editor.PureEditor
com.codename1.ui.editor.RichPureEditor
The pure rich text editor backend. It maps the
RichTextArea command / query vocabulary onto a
RichView, converting the HTML exchanged with the application to and from the editor's inline / block
model.-
Constructor Summary
ConstructorsConstructorDescriptionRichPureEditor(EditorHost host, String editorType) Creates a rich text editor backend. -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes a one way command.protected EditorViewcreateView(EditorHost host, boolean codeMode) Creates the editor view.Executes a query returning a string result.Methods inherited from class PureEditor
getView, isCodeMode, view
-
Constructor Details
-
RichPureEditor
Creates a rich text editor backend.
-
-
Method Details
-
createView
Description copied from class:PureEditorCreates the editor view. Subclasses override to supply a code or rich text view.- Overrides:
createViewin classPureEditor
-
cmd
Description copied from class:PureEditorExecutes a one way command. Unknown commands are ignored so subclasses can add vocabulary without breaking the base.
Parameters
-
name: the command name -
arg: the optional argument, may be null
- Overrides:
cmdin classPureEditor
-
-
query
Description copied from class:PureEditorExecutes a query returning a string result. Unknown queries return an empty string.
Parameters
-
name: the query name -
arg: the optional argument, may be null
- Overrides:
queryin classPureEditor
-
-