public class ColorPlugin extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin implements com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_COLORS
The colors available by default on the color palette.
|
static String |
DEFAULT_COLUMN_COUNT
The default number of columns displayed by the color palette.
|
| Constructor and Description |
|---|
ColorPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected ColorPicker |
getColorPicker()
Lazy loads the color picker.
|
void |
init(RichTextArea textArea,
Config config) |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event) |
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrationspublic static final String DEFAULT_COLORS
public static final String DEFAULT_COLUMN_COUNT
public 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.AbstractPluginpublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerpublic void onClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)
onClose in interface com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>protected ColorPicker getColorPicker()
Copyright © 2004–2016 XWiki. All rights reserved.