Class FontProperty

All Implemented Interfaces:
Property

public class FontProperty extends ValueHandlerProperty
A property of type Font.
  • Constructor Details

    • FontProperty

      public FontProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
      Constructor.
      Parameters:
      group - the property group
      name - the property name
      description - the property description
      valueHandler - handles values for this property
  • Method Details

    • get

      public Font get(Object valueContainer)
      Returns the font value of this property in a value container.
      Parameters:
      valueContainer - the value container
      Returns:
      the font value of this property
    • set

      public void set(Object valueContainer, Font font)
      Sets the font value of this property in a value container.
      Parameters:
      valueContainer - the value container
      font - the font value