Package com.vaadin.collaborationengine
Class CollaborationMessageInput
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<MessageInput>
com.vaadin.collaborationengine.CollaborationMessageInput
- All Implemented Interfaces:
AttachNotifier,BlurNotifier<CollaborationMessageInput>,DetachNotifier,Focusable<CollaborationMessageInput>,FocusNotifier<CollaborationMessageInput>,HasElement,HasEnabled,HasSize,HasStyle,HasTheme,HasThemeVariant<MessageInputVariant>,HasTooltip,Serializable
@Deprecated(since="25.3",
forRemoval=true)
public class CollaborationMessageInput
extends Composite<MessageInput>
implements Focusable<CollaborationMessageInput>, HasSize, HasStyle, HasEnabled, HasTooltip, HasThemeVariant<MessageInputVariant>
Deprecated, for removal: This API element is subject to removal in a future version.
Collaboration Kit is superseded by Vaadin Signals. Deprecated as
of Vaadin 25.3 and to be removed in Vaadin 26.0. Use shared
signals instead.
Extension of the
MessageInput component which integrates with the
CollaborationMessageList. The user can type a message and submit it.
The messages will be displayed in any CollaborationMessageList that
is connected to the same topic as the list passed as the argument of this
component constructor. The text area and button will be disabled while the
connection to the topic is not active or the topic is set to
null (see CollaborationMessageList.setTopic(String)).- Since:
- 3.1
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
BlurNotifier.BlurEvent<C extends Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
FocusNotifier.FocusEvent<C extends Component> -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a new collaboration message input component which submits messages to the providedCollaborationMessageList. -
Method Summary
Modifier and TypeMethodDescriptiongetI18n()Deprecated, for removal: This API element is subject to removal in a future version.Gets the internationalization object previously set for this component.Deprecated, for removal: This API element is subject to removal in a future version.Gets the tooltip handle of the component.voidsetI18n(MessageInputI18n i18n) Deprecated, for removal: This API element is subject to removal in a future version.Sets the internationalization properties for this component.setTooltipText(String text) Deprecated, for removal: This API element is subject to removal in a future version.Sets a tooltip text for the component.Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifier
addBlurListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSize
bindHeight, bindWidth, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, bindThemeName, bindThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, bindThemeVariant, bindThemeVariants, removeThemeVariants, setThemeVariant, setThemeVariants, setThemeVariantsMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
setTooltipMarkdown
-
Constructor Details
-
CollaborationMessageInput
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new collaboration message input component which submits messages to the providedCollaborationMessageList.- Parameters:
list- the list which will display the submitted messages, not null
-
-
Method Details
-
getI18n
Deprecated, for removal: This API element is subject to removal in a future version.Gets the internationalization object previously set for this component.Note: updating the object content returned by this method will not update the component if not set back using
MessageInput.setI18n(MessageInputI18n).- Returns:
- the i18n object, or
nullif one has not been set withsetI18n(MessageInputI18n)
-
setI18n
Deprecated, for removal: This API element is subject to removal in a future version.Sets the internationalization properties for this component. It enabled you to customize and translate the language used in the message input.Note: updating the object properties after setting the i18n will not update the component. To make the changes effective, you need to set the updated object again.
- Parameters:
i18n- the i18n object, notnull
-
setTooltipText
Deprecated, for removal: This API element is subject to removal in a future version.Sets a tooltip text for the component.- Specified by:
setTooltipTextin interfaceHasTooltip- Parameters:
text- The tooltip text- Returns:
- the tooltip handle
-
getTooltip
Deprecated, for removal: This API element is subject to removal in a future version.Gets the tooltip handle of the component.- Specified by:
getTooltipin interfaceHasTooltip- Returns:
- the tooltip handle
-