Class FontFamilyProperty


public final class FontFamilyProperty extends ListProperty
Property class for the font-family property.
  • Field Details

  • Constructor Details

    • FontFamilyProperty

      private FontFamilyProperty(Property prop)
      Parameters:
      prop - the first Property to be added to the list
    • FontFamilyProperty

      private FontFamilyProperty()
      Default constructor.
  • Method Details

    • addProperty

      public void addProperty(Property prop)
      Add a new property to the list
      Overrides:
      addProperty in class ListProperty
      Parameters:
      prop - Property to be added to the list
    • getString

      public String getString()
      This method expects to be overridden by subclasses.
      Overrides:
      getString in class Property
      Returns:
      String property value