public static class BooleanOptionFieldAdapter.Builder extends ValueOptionFieldAdapter.BuilderBase<BooleanOptionFieldAdapter.Builder,BooleanOptionFieldAdapter>
BooleanOptionFieldAdapter.| Constructor and Description |
|---|
Builder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanOptionFieldAdapter |
build()
Builds the
FieldAdapter. |
BooleanOptionFieldAdapter.Builder |
withFalseFormat(String newValue)
Sets the format of
false. |
BooleanOptionFieldAdapter.Builder |
withFalseFormat(String newValue,
Predicate<? super CharSequence> newTester)
Sets the format of
false. |
BooleanOptionFieldAdapter.Builder |
withTrueFormat(String newValue)
Sets the format of
true. |
BooleanOptionFieldAdapter.Builder |
withTrueFormat(String newValue,
Predicate<? super CharSequence> newTester)
Sets the format of
true. |
getNullFormat, lazy, self, withNullFormatpublic BooleanOptionFieldAdapter.Builder withTrueFormat(String newValue)
true.newValue - the output sequence of truepublic BooleanOptionFieldAdapter.Builder withFalseFormat(String newValue)
false.newValue - the output sequence of falsepublic BooleanOptionFieldAdapter.Builder withTrueFormat(String newValue, Predicate<? super CharSequence> newTester)
true.newValue - the output sequence of truenewTester - the input tester of truepublic BooleanOptionFieldAdapter.Builder withFalseFormat(String newValue, Predicate<? super CharSequence> newTester)
false.newValue - the output sequence of falsenewTester - the input tester of falsepublic BooleanOptionFieldAdapter build()
ValueOptionFieldAdapter.BuilderBaseFieldAdapter.build in class ValueOptionFieldAdapter.BuilderBase<BooleanOptionFieldAdapter.Builder,BooleanOptionFieldAdapter>Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.