com.vaadin.flow.component.charts.model.style.

All Implemented Interfaces:

Serializable

public class Style extends AbstractConfigurationObject

Style options for CSS styling

See Also:

  • Constructor Details

    • Style

      public Style()
  • Method Details

    • getColor

      public Color getColor()

      See Also:

    • setColor

      public void setColor(Color color)

      Sets the color CSS attribute.

      Parameters:

      color -

    • getFontWeight

      public FontWeight getFontWeight()

      See Also:

    • setFontWeight

      public void setFontWeight(FontWeight fontWeight)

      Sets the font-weight CSS attribute.

      Parameters:

      fontWeight -

    • getFontFamily

      public String getFontFamily()

      See Also:

    • setFontFamily

      public void setFontFamily(String fontFamily)

      Sets the font-family CSS attribute.

      Parameters:

      fontFamily -

    • getFontSize

      public String getFontSize()

      See Also:

    • setFontSize

      public void setFontSize(String fontSize)

      Sets the font-size CSS attribute.

      Parameters:

      fontSize -

    • getLeft

      public String getLeft()

      See Also:

    • setLeft

      public void setLeft(String left)

      Sets the left CSS attribute

      Parameters:

      left -

    • getTop

      public String getTop()

      See Also:

    • setTop

      public void setTop(String top)

      Sets the top CSS attribute

      Parameters:

      top -

    • setPosition

      public void setPosition(StylePosition position)

      Sets the position CSS attribute

      Parameters:

      position -

    • getPosition

      public StylePosition getPosition()

      See Also:

    • setLineHeight

      public void setLineHeight(String lineHeight)

      Sets the line-height CSS attribute

    • getLineHeight

      public String getLineHeight()

      See Also:

    • getTextShadow

      public String getTextShadow()

      See Also:

    • setTextShadow

      public void setTextShadow(String textShadow)

      Sets the textShadow CSS attribute

      Parameters:

      textShadow -