public class CKEditorTextField extends com.vaadin.v7.ui.AbstractField<String> implements com.vaadin.v7.event.FieldEvents.BlurNotifier, com.vaadin.v7.event.FieldEvents.FocusNotifier, com.vaadin.ui.Component.Focusable, com.vaadin.ui.LegacyComponent
Modifier and Type | Class and Description |
---|---|
static class |
CKEditorTextField.SelectionChangeEvent |
static interface |
CKEditorTextField.SelectionChangeListener |
static interface |
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
Modifier and Type | Field and Description |
---|---|
protected LinkedList<CKEditorTextField.VaadinSaveListener> |
vaadinSaveListenerList |
Constructor and Description |
---|
CKEditorTextField() |
CKEditorTextField(CKEditorConfig config) |
CKEditorTextField(CKEditorConfig config,
String initialValue) |
Modifier and Type | Method and Description |
---|---|
void |
addBlurListener(com.vaadin.event.FieldEvents.BlurListener listener) |
void |
addFocusListener(com.vaadin.event.FieldEvents.FocusListener listener) |
void |
addListener(com.vaadin.event.FieldEvents.BlurListener listener) |
void |
addListener(com.vaadin.event.FieldEvents.FocusListener listener) |
void |
addSelectionChangeListener(CKEditorTextField.SelectionChangeListener listener) |
void |
addVaadinSaveListener(CKEditorTextField.VaadinSaveListener listener) |
void |
attach() |
void |
beforeClientResponse(boolean initial) |
void |
changeVariables(Object source,
Map<String,Object> variables) |
void |
detach() |
protected void |
fireValueChange(boolean repaintIsNotNeeded) |
void |
focus() |
Class<String> |
getType() |
String |
getVersion() |
void |
insertHtml(String html) |
void |
insertText(String text) |
boolean |
isProtectedBody() |
boolean |
isViewWithoutEditor() |
void |
paintContent(com.vaadin.server.PaintTarget target) |
void |
removeBlurListener(com.vaadin.event.FieldEvents.BlurListener listener) |
void |
removeFocusListener(com.vaadin.event.FieldEvents.FocusListener listener) |
void |
removeListener(com.vaadin.event.FieldEvents.BlurListener listener) |
void |
removeListener(com.vaadin.event.FieldEvents.FocusListener listener) |
void |
removeSelectionChangeListener(CKEditorTextField.SelectionChangeListener listener) |
void |
removeVaadinSaveListener(CKEditorTextField.VaadinSaveListener listener) |
void |
setConfig(CKEditorConfig config) |
void |
setHeight(String height) |
protected void |
setInternalValue(String newValue) |
void |
setPropertyDataSource(com.vaadin.v7.data.Property newDataSource) |
void |
setProtectedBody(boolean protectedBody) |
void |
setValue(String newValue) |
void |
setViewWithoutEditor(boolean v) |
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, isEmpty, 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, 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, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected LinkedList<CKEditorTextField.VaadinSaveListener> vaadinSaveListenerList
public CKEditorTextField()
public CKEditorTextField(CKEditorConfig config)
public CKEditorTextField(CKEditorConfig config, String initialValue)
public void setConfig(CKEditorConfig config)
public String getVersion()
public void setValue(String newValue) throws com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.util.converter.Converter.ConversionException
protected void setInternalValue(String newValue)
setInternalValue
in class com.vaadin.v7.ui.AbstractField<String>
public void setPropertyDataSource(com.vaadin.v7.data.Property newDataSource)
setPropertyDataSource
in interface com.vaadin.v7.data.Property.Viewer
setPropertyDataSource
in class com.vaadin.v7.ui.AbstractField<String>
protected void fireValueChange(boolean repaintIsNotNeeded)
fireValueChange
in class com.vaadin.v7.ui.AbstractField<String>
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.v7.ui.AbstractField<String>
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
com.vaadin.server.PaintException
public void changeVariables(Object source, Map<String,Object> variables)
changeVariables
in interface com.vaadin.server.VariableOwner
public void addListener(com.vaadin.event.FieldEvents.BlurListener listener)
public void addBlurListener(com.vaadin.event.FieldEvents.BlurListener listener)
addBlurListener
in interface com.vaadin.v7.event.FieldEvents.BlurNotifier
public void removeListener(com.vaadin.event.FieldEvents.BlurListener listener)
public void removeBlurListener(com.vaadin.event.FieldEvents.BlurListener listener)
removeBlurListener
in interface com.vaadin.v7.event.FieldEvents.BlurNotifier
public void addListener(com.vaadin.event.FieldEvents.FocusListener listener)
public void addFocusListener(com.vaadin.event.FieldEvents.FocusListener listener)
addFocusListener
in interface com.vaadin.v7.event.FieldEvents.FocusNotifier
public void removeListener(com.vaadin.event.FieldEvents.FocusListener listener)
public void removeFocusListener(com.vaadin.event.FieldEvents.FocusListener listener)
removeFocusListener
in interface com.vaadin.v7.event.FieldEvents.FocusNotifier
public void addSelectionChangeListener(CKEditorTextField.SelectionChangeListener listener)
listener
- public void removeSelectionChangeListener(CKEditorTextField.SelectionChangeListener listener)
public void setHeight(String height)
setHeight
in interface com.vaadin.server.Sizeable
setHeight
in class com.vaadin.ui.AbstractComponent
public void attach()
attach
in interface com.vaadin.server.ClientConnector
attach
in interface com.vaadin.ui.Component
attach
in class com.vaadin.v7.ui.AbstractField<String>
public void detach()
detach
in interface com.vaadin.server.ClientConnector
detach
in class com.vaadin.v7.ui.AbstractField<String>
public void focus()
focus
in interface com.vaadin.ui.Component.Focusable
focus
in class com.vaadin.v7.ui.AbstractField<String>
public boolean isViewWithoutEditor()
public void setViewWithoutEditor(boolean v)
public void insertHtml(String html)
public void insertText(String text)
public void setProtectedBody(boolean protectedBody)
public boolean isProtectedBody()
public void addVaadinSaveListener(CKEditorTextField.VaadinSaveListener listener)
public void removeVaadinSaveListener(CKEditorTextField.VaadinSaveListener listener)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.