public class MagnoliaCKEditorTextField extends CKEditorTextField implements MagnoliaCKEditorTextFieldEvents
org.vaadin.alump.ckeditor.AbstractCKEditorTextField.SelectionChangeEvent, org.vaadin.alump.ckeditor.AbstractCKEditorTextField.SelectionChangeListener, org.vaadin.alump.ckeditor.AbstractCKEditorTextField.VaadinSaveListener
MagnoliaCKEditorTextFieldEvents.PluginListener
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
vaadinSaveListenerList, value
EVENT_CANCEL_LINK, EVENT_GET_MAGNOLIA_LINK, EVENT_SEND_MAGNOLIA_LINK
Constructor and Description |
---|
MagnoliaCKEditorTextField(MagnoliaCKEditorConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(MagnoliaCKEditorTextFieldEvents.PluginListener listener) |
void |
changeVariables(Object source,
Map<String,Object> variables) |
void |
firePluginEvent(String event,
String value)
Send event to CKEditor instance.
|
boolean |
isEmpty() |
void |
paintContent(com.vaadin.server.PaintTarget target) |
void |
setHeight(float height,
com.vaadin.server.Sizeable.Unit unit) |
addBlurListener, addFocusListener, addSelectionChangeListener, addVaadinSaveListener, beforeClientResponse, detach, doSetValue, focus, getValue, getVersion, insertHtml, insertText, isImmediate, isProtectedBody, isViewWithoutEditor, removeBlurListener, removeFocusListener, removeSelectionChangeListener, removeVaadinSaveListener, setConfig, setHeight, setImmediate, setProtectedBody, setViewWithoutEditor
addValueChangeListener, createValueChange, getCustomAttributes, getState, getState, getTabIndex, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, readDesign, setReadOnly, setRequiredIndicatorVisible, setTabIndex, setValue, setValue, writeDesign
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setResponsive, setSizeFull, setSizeUndefined, 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
firePluginEvent
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public MagnoliaCKEditorTextField(MagnoliaCKEditorConfig config)
public void addListener(MagnoliaCKEditorTextFieldEvents.PluginListener listener)
addListener
in interface MagnoliaCKEditorTextFieldEvents
public void changeVariables(Object source, Map<String,Object> variables)
changeVariables
in interface com.vaadin.server.VariableOwner
changeVariables
in class org.vaadin.alump.ckeditor.AbstractCKEditorTextField
public void firePluginEvent(String event, String value)
MagnoliaCKEditorTextFieldEvents
firePluginEvent
in interface MagnoliaCKEditorTextFieldEvents
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 paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
paintContent
in class org.vaadin.alump.ckeditor.AbstractCKEditorTextField
com.vaadin.server.PaintException
public void setHeight(float height, com.vaadin.server.Sizeable.Unit unit)
setHeight
in interface com.vaadin.server.Sizeable
setHeight
in class com.vaadin.ui.AbstractComponent
public boolean isEmpty()
isEmpty
in interface com.vaadin.data.HasValue<String>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.