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.AbstractPluginAbstractStatefullPlugin#init(RichTextArea, Config)public void destroy()
destroy in interface Plugindestroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPluginAbstractStatefullPlugin#destroy()public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerClickHandler.onClick(ClickEvent)public void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
onChange in interface com.google.gwt.event.dom.client.ChangeHandlerChangeHandler.onChange(ChangeEvent)public void update()
update in interface UpdatableUpdatable.update()Copyright © 2004–2015 XWiki. All rights reserved.