Class Action.Input<T>
java.lang.Object
com.vaadin.flow.component.trigger.internal.Action.Input<T>
- Type Parameters:
T- the runtime type of the value produced
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PropertyInput
- Enclosing class:
Action
A value an
Action consumes at fire time — a deferred JS
expression that yields a value when the surrounding trigger fires.
Subclasses produce the JS expression by overriding
appendExpression(JsBuilder, StringBuilder).
Some inputs are bound to a specific trigger's handler scope (see
HandlerInput) and may only be used in actions wired to that
trigger; others are independent of any trigger (see
PropertyInput, LiteralInput) and may be used freely.
For internal use only. May be renamed or removed in a future release.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidappendExpression(com.vaadin.flow.component.trigger.internal.JsBuilder builder, StringBuilder out) Appends this input's JS expression toout.
-
Constructor Details
-
Input
public Input()
-
-
Method Details
-
appendExpression
protected abstract void appendExpression(com.vaadin.flow.component.trigger.internal.JsBuilder builder, StringBuilder out) Appends this input's JS expression toout. Element references must go throughJsBuilder.reference(com.vaadin.flow.dom.Element).- Parameters:
builder- collects element parameter references, notnullout- buffer to append into, notnull
-