Class Src

  • All Implemented Interfaces:
    CssProperty, java.io.Serializable, java.lang.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:
    Serialized Form
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • Src

        public Src​(java.lang.String cssValue)
        Parameters:
        cssValue - the cssValue to set
        Since:
        1.1.2
    • Method Detail

      • getCssName

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

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

        public java.lang.String toString​()
        Overrides:
        toString in class java.lang.Object
      • setCssValue

        public Src setCssValue​(java.lang.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