Class Param

All Implemented Interfaces:
AttachNotifier, DetachNotifier, HasElement, HasSize, HasStyle, Serializable

@Tag("param") public class Param extends HtmlComponent
Component representing a <param> element for <param> element.
Since:
Author:
Vaadin Ltd
See Also:
  • 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: