org.xwiki.gwt.wysiwyg.client.plugin.style
Class StylePlugin
java.lang.Object
org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPlugin
org.xwiki.gwt.wysiwyg.client.plugin.style.StylePlugin
- All Implemented Interfaces:
- com.google.gwt.event.dom.client.ChangeHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.dom.client.MouseUpHandler, com.google.gwt.event.shared.EventHandler, CommandListener, Updatable, Plugin
public class StylePlugin
- extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPlugin
- implements com.google.gwt.event.dom.client.ChangeHandler
Enhances the editor with the ability to apply predefined styles to the current text selection. Installs a list box on
the tool bar with the available styles.
- Version:
- $Id: 70f38bd300c4383dd6c7738e51309842ed4e3f48 $
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPlugin |
canUpdate, onBeforeCommand, onCommand, onKeyUp, onMouseUp, registerTextAreaHandlers |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin |
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StylePlugin
public StylePlugin()
init
public void init(RichTextArea textArea,
Config config)
-
- Specified by:
init in interface Plugin- Overrides:
init in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
- See Also:
AbstractPlugin.init(RichTextArea, Config)
destroy
public void destroy()
-
- Specified by:
destroy in interface Plugin- Overrides:
destroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractStatefulPlugin
- See Also:
AbstractStatefulPlugin.destroy()
onChange
public void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
-
- Specified by:
onChange in interface com.google.gwt.event.dom.client.ChangeHandler
- See Also:
ChangeHandler.onChange(ChangeEvent)
update
public void update()
-
- Specified by:
update in interface Updatable
- See Also:
Updatable.update()
Copyright © 2004-2012 XWiki. All Rights Reserved.