public class FormatPlugin extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPlugin implements com.google.gwt.event.dom.client.ChangeHandler, com.google.gwt.event.dom.client.ClickHandler
RichTextArea plug-in for formatting text. It can be used to format text as heading 1 to 5. It installs a
select on the tool bar and updates its status depending on the current cursor position.| Constructor and Description |
|---|
FormatPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init(RichTextArea textArea,
Config config) |
void |
onChange(com.google.gwt.event.dom.client.ChangeEvent event) |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
update() |
canUpdate, onBeforeCommand, onCommand, onKeyUp, onMouseUp, registerTextAreaHandlersgetConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrationspublic void init(RichTextArea textArea, Config config)
init in interface Plugininit in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginpublic void destroy()
destroy in interface Plugindestroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPluginpublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerpublic void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
onChange in interface com.google.gwt.event.dom.client.ChangeHandlerCopyright © 2004–2016 XWiki. All rights reserved.