All Implemented Interfaces:
Serializable

public class Style extends AbstractConfigurationObject

Style class.

Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • Style

      public Style()
  • Method Details

    • getColor

      public Color getColor()

      Getter for the field color.

      Returns:
      a Color object.
      See Also:
    • setColor

      public void setColor(Color color)
      Sets the color CSS attribute.
      Parameters:
      color - a Color object.
    • getFontWeight

      public FontWeight getFontWeight()

      Getter for the field fontWeight.

      Returns:
      a FontWeight object.
      See Also:
    • setFontWeight

      public void setFontWeight(FontWeight fontWeight)
      Sets the font-weight CSS attribute.
      Parameters:
      fontWeight - a FontWeight object.
    • getFontFamily

      public String getFontFamily()

      Getter for the field fontFamily.

      Returns:
      a String object.
      See Also:
    • setFontFamily

      public void setFontFamily(String fontFamily)
      Sets the font-family CSS attribute.
      Parameters:
      fontFamily - a String object.
    • getFontSize

      public String getFontSize()

      Getter for the field fontSize.

      Returns:
      a String object.
      See Also:
    • setFontSize

      public void setFontSize(String fontSize)
      Sets the font-size CSS attribute.
      Parameters:
      fontSize - a String object.
    • getLeft

      public String getLeft()

      Getter for the field left.

      Returns:
      a String object.
      See Also:
    • setLeft

      public void setLeft(String left)
      Sets the left CSS attribute
      Parameters:
      left - a String object.
    • getTop

      public String getTop()

      Getter for the field top.

      Returns:
      a String object.
      See Also:
    • setTop

      public void setTop(String top)
      Sets the top CSS attribute
      Parameters:
      top - a String object.
    • setPosition

      public void setPosition(StylePosition position)
      Sets the position CSS attribute
      Parameters:
      position - a StylePosition object.
    • getPosition

      public StylePosition getPosition()

      Getter for the field position.

      Returns:
      a StylePosition object.
      See Also:
    • setLineHeight

      public void setLineHeight(String lineHeight)
      Sets the line-height CSS attribute
      Parameters:
      lineHeight - a String object.
    • getLineHeight

      public String getLineHeight()

      Getter for the field lineHeight.

      Returns:
      a String object.
      See Also:
    • getTextShadow

      public String getTextShadow()

      Getter for the field textShadow.

      Returns:
      a String object.
      See Also:
    • setTextShadow

      public void setTextShadow(String textShadow)
      Sets the textShadow CSS attribute
      Parameters:
      textShadow - a String object.