Uses of Class
com.vaadin.flow.component.clipboard.ClipboardContent
Packages that use ClipboardContent
-
Uses of ClipboardContent in com.vaadin.flow.component.clipboard
Methods in com.vaadin.flow.component.clipboard that return ClipboardContentModifier and TypeMethodDescriptionstatic ClipboardContentClipboardContent.create()Creates a new empty content builder.Sets the HTML to be written to the clipboard.<C extends Component & HasValue<?,String>>
ClipboardContentClipboardContent.text(C source) Sets the plain text to be written to the clipboard, taken from thevalueproperty of the given component (typically an input field).Sets the plain text to be written to the clipboard.Methods in com.vaadin.flow.component.clipboard with parameters of type ClipboardContentModifier and TypeMethodDescriptionvoidClipboardBinding.write(ClipboardContent content) Copies a multi-format payload to the clipboard, packed into a singleClipboardItem.voidClipboardBinding.write(ClipboardContent content, SerializableConsumer<@Nullable String> onCopied, SerializableConsumer<PromiseAction.Error> onError) LikeClipboardBinding.write(ClipboardContent)but reports the outcome back to the server.