public class BooleanField extends Field
Field.Type
Constructor and Description |
---|
BooleanField(String name,
String truthValue)
Creates a new BooleanField with the given name and truth value.
|
public BooleanField(String name, String truthValue)
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".Copyright © 2016. All rights reserved.