XdevRichTextArea

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


XDEV Software Corp. - One Embarcadero Center, San Francisco, CA 94111, US
Copyright © 2015. XDEV Software Corp. All rights reserved.