public class XdevRichTextArea extends RichTextArea implements XdevField
AbstractTextField.setMaxLength(int)
method in
RichTextArea
may produce unexpected results as formatting is counted
into length of field.AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEvent
ExtendableObject.Extensions
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
Sizeable.Unit
Field.ValueChangeEvent
Buffered.SourceException
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer
PERSIST_VALUE_DEFAULT
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
Constructor and Description |
---|
XdevRichTextArea()
Constructs an empty
RichTextArea with no caption. |
XdevRichTextArea(Property<?> dataSource)
Constructs a new
RichTextArea that's bound to the specified
Property and has no caption. |
XdevRichTextArea(String caption)
Constructs an empty
RichTextArea with the given caption. |
XdevRichTextArea(String caption,
Property<?> dataSource)
Constructs a new
RichTextArea that's bound to the specified
Property and has the given caption. |
XdevRichTextArea(String caption,
String value)
Constructs a new
RichTextArea with the given caption and
initial text contents. |
Modifier and Type | Method and Description |
---|---|
<E> E |
addExtension(Class<? super E> type,
E extension)
Adds an extension to this component.
|
<E> E |
getExtension(Class<E> type)
Gets the registered extension for the specified type.
|
boolean |
isPersistValue() |
void |
setPersistValue(boolean persistValue) |
changeVariables, clear, getNullRepresentation, getType, isEmpty, isNullSettingAllowed, paintContent, readDesign, selectAll, setNullRepresentation, setNullSettingAllowed, setReadOnly, writeDesign
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, attach, beforeClientResponse, commit, detach, discard, focus, getConversionError, getConvertedValue, getConverter, getErrorMessage, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, getValue, isBuffered, isImmediate, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isValid, isValidationVisible, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInvalidAllowed, setInvalidCommitted, setLocale, setPropertyDataSource, setRequired, setRequiredError, setTabIndex, setValidationVisible, setValue, toString, validate, valueChange
addContextClickListener, addListener, addShortcutListener, addStyleName, findAncestor, getCaption, getComponentError, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setParent, setPrimaryStyleName, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addListener, addListener, encodeState, equals, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getRpcManager, getStateType, getUI, handleConnectorRequest, hashCode, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
isEnabled, isReadOnly, isVisible, setEnabled, setReadOnly, setVisible
markAsDirty
isEnabled, isImmediate
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getConnectorId
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
addShortcutListener, removeShortcutListener
public XdevRichTextArea()
RichTextArea
with no caption.public XdevRichTextArea(Property<?> dataSource)
RichTextArea
that's bound to the specified
Property
and has no caption.dataSource
- the data source for the editor valuepublic XdevRichTextArea(String caption, Property<?> dataSource)
RichTextArea
that's bound to the specified
Property
and has the given caption.caption
- the caption for the editor.dataSource
- the data source for the editor valuepublic XdevRichTextArea(String caption, String value)
RichTextArea
with the given caption and
initial text contents.caption
- the caption for the editor.value
- the initial text content of the editor.public XdevRichTextArea(String caption)
RichTextArea
with the given caption.caption
- the caption for the editor.public <E> E addExtension(Class<? super E> type, E extension)
addExtension
in interface ExtendableObject
type
- the type to register the extension forextension
- the extensionnull
ExtendableObject.getExtension(Class)
public <E> E getExtension(Class<E> type)
getExtension
in interface ExtendableObject
type
- the type the extension was registered withnull
if none was added before for
this typeExtendableObject.addExtension(Class, Object)
public boolean isPersistValue()
isPersistValue
in interface XdevField
public void setPersistValue(boolean persistValue)
setPersistValue
in interface XdevField