Class ParameterText

java.lang.Object
de.espirit.firstspirit.webedit.plugin.report.ParameterText
All Implemented Interfaces:
Parameter<String>, Parameter<String>, Serializable

@Deprecated @GwtCompatible public class ParameterText extends Object implements Parameter<String>
Deprecated.
since 5.1.5 - use ParameterText instead
String parameter definition. On the client side, this parameter is represented by a textfield.
Since:
5.0.103
See Also:
  • Constructor Details

    • ParameterText

      public ParameterText(String name, @Nullable @Nullable String placeholder, @Nullable @Nullable String defaultValue)
      Deprecated.
      Creates a new String-typed text input parameter, using the given attributes.
      Parameters:
      name - Name of this parameter, should be unique within a WebeditReportPlugin.
      placeholder - The default text, if the related textfield is empty. The string will not be used as a value.
      defaultValue - The default value of this parameter.
      Since:
      5.0.103
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Provides this parameter's name.
      Specified by:
      getName in interface Parameter<String>
      Specified by:
      getName in interface Parameter<String>
      Returns:
      The parameter's name.
      Since:
      5.0.103
    • cast

      public String cast(Object object)
      Deprecated.
      Casts the given object this parameter's value type.
      Specified by:
      cast in interface Parameter<String>
      Parameters:
      object - The object to be cast.
      Returns:
      The cast object.
      Since:
      5.0.103
    • getDefaultValue

      public String getDefaultValue()
      Deprecated.
      Provides the parameter's default value.
      Specified by:
      getDefaultValue in interface Parameter<String>
      Specified by:
      getDefaultValue in interface Parameter<String>
      Returns:
      The default value.
      Since:
      5.0.103
    • getPlaceholder

      @Nullable public @Nullable String getPlaceholder()
      Deprecated.
      Returns the placeholder for the related textfield on client side. The string will not be used as a value.
      Returns:
      The placeholder text.
      Since:
      5.0.103