Uses of Class
com.vaadin.flow.component.trigger.internal.Action.Input
Packages that use Action.Input
-
Uses of Action.Input in com.vaadin.flow.component.trigger.internal
Subclasses of Action.Input in com.vaadin.flow.component.trigger.internalModifier and TypeClassDescriptionclassReads a JavaScript property from a target component's root element at the moment a trigger fires.Methods in com.vaadin.flow.component.trigger.internal that return Action.InputModifier and TypeMethodDescriptionClickTrigger.altKey()event.altKey— whether alt was held during the click.ClickTrigger.clientX()event.clientX— X coordinate relative to the viewport.ClickTrigger.clientY()event.clientY— Y coordinate relative to the viewport.ClickTrigger.ctrlKey()event.ctrlKey— whether ctrl was held during the click.ClickTrigger.metaKey()event.metaKey— whether meta was held during the click.<T> Action.Input<T> Returns anAction.Inputthat yieldsevent[name]at fire time — the value of a property on the DOM event object.ClickTrigger.screenX()event.screenX— X coordinate relative to the screen.ClickTrigger.screenY()event.screenY— Y coordinate relative to the screen.ClickTrigger.shiftKey()event.shiftKey— whether shift was held during the click.Constructors in com.vaadin.flow.component.trigger.internal with parameters of type Action.InputModifierConstructorDescriptionCopyTextToClipboardAction(Action.Input<String> textInput) Creates a fire-and-forget clipboard-copy action: the rendered JS just callswriteTextand the server never sees the result.CopyTextToClipboardAction(Action.Input<String> textInput, SerializableRunnable onSuccess, SerializableConsumer<String> onError) Creates a clipboard-copy action whose outcome is reported back to the server viaonSuccess/onError.SetPropertyAction(Component target, String propertyName, Action.Input<? extends T> source) Creates an action that assigns the value produced bysourceto the given JS property ontargetwhen the trigger fires.