Class Param

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.html.Param
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable

@Tag("param") public class Param extends com.vaadin.flow.component.HtmlComponent
Component representing a <param> element for <param> element.
Author:
Vaadin Ltd
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new <param> component.
    Param(String name, String value)
    Creates a new <param> component with given name and value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the "name" attribute value.
    Gets the "value" attribute.
    void
    Sets a "name" attribute value.
    void
    Sets a "value" attribute.

    Methods inherited from class com.vaadin.flow.component.HtmlComponent

    getTitle, setTitle

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasSize

    getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • Param

      public Param()
      Creates a new <param> component.
    • Param

      public Param(String name, String value)
      Creates a new <param> component with given name and value.
      Parameters:
      name - a name attribute value
      value - a value attribute value
      See Also:
  • Method Details

    • setValue

      public void setValue(String value)
      Sets a "value" attribute.
      Parameters:
      value - "value" attribute value
    • setName

      public void setName(String name)
      Sets a "name" attribute value.
      Parameters:
      name - a "name" attribute value
    • getName

      public String getName()
      Gets the "name" attribute value.
      Returns:
      the "name" attribute value
      See Also:
    • getValue

      public Optional<String> getValue()
      Gets the "value" attribute.
      Returns:
      the "value" attribute value
      See Also: