Class ImageTitleCard

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.ImageTitleCard
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable
Direct Known Subclasses:
SmothAreaCard, UsageCard

public class ImageTitleCard extends Card
Represents a card with an image, title, and layout. Extends the Card class.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setFirst(com.vaadin.flow.component.Component componentIO)
     
    void
    setImageIcon(String sourceIO)
    Sets the image icon for the ImageTitleCard.

    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

    • ImageTitleCard

      public ImageTitleCard(String titleIO)
  • Method Details

    • setImageIcon

      public void setImageIcon(String sourceIO)
      Sets the image icon for the ImageTitleCard.
      Parameters:
      sourceIO - the source of the image icon
    • setFirst

      public void setFirst(com.vaadin.flow.component.Component componentIO)