public class WysiwygEditorTabSwitchHandler extends Object implements com.google.gwt.event.logical.shared.SelectionHandler<Integer>, com.google.gwt.event.logical.shared.BeforeSelectionHandler<Integer>
WysiwygEditor tab-switch handler.| Modifier and Type | Method and Description |
|---|---|
void |
convertFromHTML(String html)
Converts the given HTML fragment to source and updates the plain text area.
|
void |
convertToHTML(String source)
Converts the given source text to HTML and updates the rich text area.
|
void |
onBeforeSelection(com.google.gwt.event.logical.shared.BeforeSelectionEvent<Integer> event) |
void |
onSelection(com.google.gwt.event.logical.shared.SelectionEvent<Integer> event) |
public void onBeforeSelection(com.google.gwt.event.logical.shared.BeforeSelectionEvent<Integer> event)
onBeforeSelection in interface com.google.gwt.event.logical.shared.BeforeSelectionHandler<Integer>public void onSelection(com.google.gwt.event.logical.shared.SelectionEvent<Integer> event)
onSelection in interface com.google.gwt.event.logical.shared.SelectionHandler<Integer>public void convertFromHTML(String html)
html - the HTML fragment to be converted to sourcepublic void convertToHTML(String source)
source - the source text to be converted to HTMLCopyright © 2004–2016 XWiki. All rights reserved.