Class TextCard

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
de.bytestore.hostinger.components.cards.Card
de.bytestore.hostinger.components.cards.TextCard
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable

public class TextCard extends Card
Represents a card with text content.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    TextCard(String titleIO)
    Represents a card with text content.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setTitle(String valueIO)
    Sets the title of the TextCard.
    void
    setValue(String valueIO)
    Sets the value of the TextCard.

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

    getChildren, getContent, getElement

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

    findAncestor, from, getId, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, isAttached, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, setId, setVisible

    Methods inherited from class java.lang.Object

    equals, 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.HasStyle

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

    • TextCard

      public TextCard(String titleIO)
      Represents a card with text content.
  • Method Details

    • setValue

      public void setValue(String valueIO)
      Sets the value of the TextCard.
      Parameters:
      valueIO - the value to be set
    • setTitle

      public void setTitle(String valueIO)
      Sets the title of the TextCard.
      Parameters:
      valueIO - the title to be set