Class Card.Line

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.html.Hr
com.storedobject.ui.Card.Line
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
Enclosing class:
Card

public static class Card.Line extends com.vaadin.flow.component.html.Hr
The Line class represents a styled horizontal line component with customizable properties. It extends the Hr class and is designed to be a simple visual separator in a UI layout.
 Features:
 - By default, it renders as a horizontal line with no border and a top border styled
   as "1px solid #e0e0e0".
 - The height of the line is set to 3px.
 - Margins are applied to create spacing above and below the line, with values of 8px for top and bottom.
 
It also provides a method to set the background color of the line dynamically.
Author:
Syam
See Also: