Class Src

All Implemented Interfaces:
CssProperty, Serializable, Cloneable
Direct Known Subclasses:
SrcCssProperty

public class Src extends AbstractCssProperty<Src>
 src: URL;
 
Defines the URL(s) where the font needs to be downloaded from. This css property is applicable inside @font-face css selector.
Since:
1.1.2
See Also:
  • Constructor Details

    • Src

      public Src(String cssValue)
      Parameters:
      cssValue - the cssValue to set
      Since:
      1.1.2
  • Method Details

    • getCssName

      public String getCssName()
      Returns:
      the name portion in style, eg align-content for style align-content: center.
    • getCssValue

      public String getCssValue()
      Returns:
      the value portion in style, eg center for style align-content: center.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setCssValue

      public Src setCssValue(String cssValue)
      Specified by:
      setCssValue in class AbstractCssProperty<Src>
      Parameters:
      cssValue - The value should be a unicodeChars sequence.
      Returns:
      the current object.
      Since:
      1.1.2