Class StringProperty

All Implemented Interfaces:
Property

public class StringProperty extends ValueHandlerProperty
A String property.
  • Constructor Details

    • StringProperty

      public StringProperty(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 String get(Object valueContainer)
      Returns the string value of this property in a value container.
      Parameters:
      valueContainer - the value container
      Returns:
      the string value of this property
    • set

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