public class RadioButtonFieldProperty extends Object implements FieldProperty
Constructor and Description |
---|
RadioButtonFieldProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Alignment |
getAlign()
The layout of the options.
|
String |
getCode()
The field code of the field.
|
String |
getDefaultValue()
The default value.
|
String |
getLabel()
The field name.
|
Boolean |
getNoLabel()
The "Hide field name" option.
|
Map<String,Option> |
getOptions()
An object including data of the field's options.
|
Boolean |
getRequired()
The "Required field" option.
|
FieldType |
getType()
Get the field type.
|
int |
hashCode() |
RadioButtonFieldProperty |
setAlign(Alignment align)
The layout of the options.
|
RadioButtonFieldProperty |
setCode(String code)
The field code of the field.
|
RadioButtonFieldProperty |
setDefaultValue(String defaultValue)
The default value.
|
RadioButtonFieldProperty |
setLabel(String label)
The field name.
|
RadioButtonFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
RadioButtonFieldProperty |
setOptions(Map<String,Option> options)
An object including data of the field's options.
|
RadioButtonFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
String |
toString() |
public FieldType getType()
getType
in interface FieldProperty
public String getCode()
getCode
in interface FieldProperty
public String getLabel()
public Boolean getNoLabel()
public Boolean getRequired()
public String getDefaultValue()
public Alignment getAlign()
public Map<String,Option> getOptions()
public RadioButtonFieldProperty setCode(String code)
this
.public RadioButtonFieldProperty setLabel(String label)
this
.public RadioButtonFieldProperty setNoLabel(Boolean noLabel)
this
.public RadioButtonFieldProperty setRequired(Boolean required)
this
.public RadioButtonFieldProperty setDefaultValue(String defaultValue)
this
.public RadioButtonFieldProperty setAlign(Alignment align)
this
.public RadioButtonFieldProperty setOptions(Map<String,Option> options)
this
.public boolean equals(Object o)
equals
in class Object
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object