Class StringProperty

  • All Implemented Interfaces:
    Property

    public class StringProperty
    extends ValueHandlerProperty
    A String property.
    Version:
    $Revision: 1.4 $
    • Constructor Detail

      • StringProperty

        public StringProperty​(PropertyGroup group,
                              java.lang.String name,
                              java.lang.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 Detail

      • get

        public java.lang.String get​(java.lang.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​(java.lang.Object valueContainer,
                        java.lang.String value)
        Sets the string value of this property in a value container.
        Parameters:
        valueContainer - the value container
        value - the string value