public class MagnoliaRichTextField
extends org.vaadin.openesignforms.ckeditor.CKEditorTextField
Modifier and Type | Class and Description |
---|---|
static interface |
MagnoliaRichTextField.PluginListener
Event handler listener for plugin connectivity.
|
org.vaadin.openesignforms.ckeditor.CKEditorTextField.SelectionChangeEvent, org.vaadin.openesignforms.ckeditor.CKEditorTextField.SelectionChangeListener, org.vaadin.openesignforms.ckeditor.CKEditorTextField.VaadinSaveListener
com.vaadin.v7.ui.AbstractField.FocusShortcut, com.vaadin.v7.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
com.vaadin.v7.ui.Field.ValueChangeEvent
com.vaadin.v7.data.Buffered.SourceException
com.vaadin.v7.data.Property.Editor, com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener, com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.v7.data.Property.Transactional<T>, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewer
Constructor and Description |
---|
MagnoliaRichTextField() |
MagnoliaRichTextField(MagnoliaRichTextFieldConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(MagnoliaRichTextField.PluginListener listener) |
void |
changeVariables(Object source,
Map<String,Object> variables) |
void |
firePluginEvent(String event)
Send event to CKEditor instance.
|
void |
firePluginEvent(String event,
String value)
Send event to CKEditor instance.
|
boolean |
isEmpty() |
void |
paintContent(com.vaadin.server.PaintTarget target) |
addBlurListener, addFocusListener, addListener, addListener, addSelectionChangeListener, addVaadinSaveListener, attach, beforeClientResponse, detach, fireValueChange, focus, getType, getVersion, insertHtml, insertText, isProtectedBody, isViewWithoutEditor, removeBlurListener, removeFocusListener, removeListener, removeListener, removeSelectionChangeListener, removeVaadinSaveListener, setConfig, setHeight, setInternalValue, setPropertyDataSource, setProtectedBody, setValue, setViewWithoutEditor
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, clear, commit, discard, fireReadOnlyStatusChange, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getCustomAttributes, getErrorMessage, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getState, getState, getTabIndex, getValidators, getValue, isBuffered, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isValid, isValidationVisible, readDesign, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInvalidAllowed, setInvalidCommitted, setLocale, setReadOnly, setRequired, setRequiredError, setTabIndex, setValidationVisible, setValue, setValue, shouldHideErrors, validate, validate, valueChange, writeDesign
getExplicitImmediateValue, isImmediate, setImmediate
addContextClickListener, addListener, addShortcutListener, addStyleName, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public MagnoliaRichTextField()
public MagnoliaRichTextField(MagnoliaRichTextFieldConfig config)
public void addListener(MagnoliaRichTextField.PluginListener listener)
public void changeVariables(Object source, Map<String,Object> variables)
changeVariables
in interface com.vaadin.server.VariableOwner
changeVariables
in class org.vaadin.openesignforms.ckeditor.CKEditorTextField
public void firePluginEvent(String event, String value)
event
- Event name that plugin can attach with: editor.on('event', function(e) {...});value
- Additional event data. Plugin can access this by e.datapublic void firePluginEvent(String event)
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
paintContent
in class org.vaadin.openesignforms.ckeditor.CKEditorTextField
com.vaadin.server.PaintException
Copyright © 2019 Magnolia International Ltd.. All rights reserved.