Class BooleanField

java.lang.Object
org.apache.guacamole.form.Field
org.apache.guacamole.form.BooleanField

public class BooleanField extends Field
Represents a field with strictly one possible value. It is assumed that the field may be blank, but that its sole non-blank value is the value provided. The provided value represents "true" while all other values, including having no associated value, represent "false".
  • Constructor Details

    • BooleanField

      public BooleanField(String name, String truthValue)
      Creates a new BooleanField with the given name and truth value. The truth value is the value that, when assigned to this field, means that this field is "true".
      Parameters:
      name - The unique name to associate with this field.
      truthValue - The value to consider "true" for this field. All other values will be considered "false".