Interface PastedValueTransformer
public interface PastedValueTransformer
-
Method Summary
Modifier and TypeMethodDescriptiontransformPastedValue
(FormItem item, DynamicForm form, String pastedValue) Notification fired in response to a clipboard "paste" event on freeform text items, giving developers an opportunity to reformat the pasted text.
-
Method Details
-
transformPastedValue
Notification fired in response to a clipboard "paste" event on freeform text items, giving developers an opportunity to reformat the pasted text. ThepastedValue
argument contains the text pasted from the clipboard. This method should return the text value to actually insert into the input element.- Parameters:
item
- Item into which the user pasted a valueform
- Pointer to the item's formpastedValue
- Pasted text value- Returns:
- Reformatted version of the pasted text.
-