public final class CheckboxSearchOption extends ExtendedSearchOption
| Constructor and Description |
|---|
CheckboxSearchOption(String code,
String checkboxLabel,
boolean defaultValue)
Constructor with all properties.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCheckBoxLabel()
Returns the string the search options is labelled with.
|
boolean |
getDefaultValue()
Returns the initial value on opening the search panel.
|
String |
toString()
Displays a summary of the properties of this option.
|
getCode, getDescription, getLabel, setDescriptionpublic CheckboxSearchOption(String code, String checkboxLabel, boolean defaultValue)
code - Unique identifier for this option.checkboxLabel - To display next to the check-boxdefaultValue - The initial state of the check-box (true = checked)public String getCheckBoxLabel()
public boolean getDefaultValue()
public String toString()
ExtendedSearchOptiongetCode() + " ("+getLabel() + " - " + getDescription() + ")"toString in class ExtendedSearchOption