Package com.storedobject.vaadin
Interface DisablePaste
- All Superinterfaces:
com.vaadin.flow.component.HasElement,Serializable
- All Known Implementing Classes:
AbstractQuantityField,ActionTextField,AngleField,AreaField,BigDecimalField,ClassNameField,CountField,CurrencyField,CustomTextField,DaysField,DistanceField,DoubleField,FractionalCountField,FreeFormatField,GeolocationField,GridSearchField,IntegerField,JSONField,LongField,MinutesField,MoneyField,NumericField,ObjectCodeField,PasswordField,PercentageField,PressureField,QuantityField,SearchField,SecondsField,SpeedField,TemperatureField,TextField,TimeDurationField,TreeSearchField,VolumeField,VolumeRateField,WeightField,WeightOrVolumeField,WeightRateField
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Method implementation for disabling paste feature in fields.
- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDisable paste feature so that Ctrl-V will not paste anything from the copy buffer.Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
Method Details
-
disablePaste
default void disablePaste()Disable paste feature so that Ctrl-V will not paste anything from the copy buffer.
-