Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The XdevRichTextArea is a rich text editor that provides all the important basic functions you need to edit and format text. The text is represented in HTML format. The XdevRichTextArea is a a form component and can be persisted via the XdevFieldGroup.

Important events:
  • valueChange -  valueChange - Is triggered when the content has been changed, mainly through adding or deleting of characters, however only if the UI component loses the focus.

Examples:
  • Allocate content - Allocates a text as string to the XdevRichTextArea. This may trigger a textChange or valueChange event.

    richTextArea.setValue("Hello 123 !!!");
  • Read content

    String content = richTextArea.getValue();
  • Delete content - Deletes the entire content in the XdevRichTextArea. This may trigger a textChange or valueChange event.

    richTextArea.clear();
  • Set focus - Allocates the focus to the XdevRichTextArea. This can trigger a focus event, if necessary.

    richTextArea.focus();
  • Select content

    richTextArea.selectAll();
Go to XdevRichTextArea Javadoc


  • No labels