Uses of Enum Class
com.vaadin.flow.component.html.AttachmentType
Packages that use AttachmentType
-
Uses of AttachmentType in com.vaadin.flow.component.html
Methods in com.vaadin.flow.component.html that return AttachmentTypeModifier and TypeMethodDescriptionstatic AttachmentTypeReturns the enum constant of this class with the specified name.static AttachmentType[]AttachmentType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.component.html with parameters of type AttachmentTypeModifier and TypeMethodDescriptionvoidAnchor.setHref(DownloadHandler downloadHandler, AttachmentType attachmentType) Sets the URL that this anchor links to and that is bound to a givenDownloadHandlercallback on the server for handling data download from the server to the client when clicking an anchor.Constructors in com.vaadin.flow.component.html with parameters of type AttachmentTypeModifierConstructorDescriptionAnchor(DownloadHandler downloadHandler, AttachmentType attachmentType, String text) Creates an anchor component with the given text content and a callback that handles data download from the server to the client when clicking an anchor.