public static final class ConverterFactory.BooleanNegator extends Object implements BindingConverter<Boolean,Boolean>
Constructor and Description |
---|
ConverterFactory.BooleanNegator() |
Modifier and Type | Method and Description |
---|---|
Boolean |
sourceValue(Boolean targetValue)
Returns the negated target Boolean leaving null unchanged.
|
Boolean |
targetValue(Boolean sourceValue)
Returns the negated source Boolean leaving null unchanged.
|
public Boolean targetValue(Boolean sourceValue)
targetValue
in interface BindingConverter<Boolean,Boolean>
sourceValue
- the value to convertpublic Boolean sourceValue(Boolean targetValue)
sourceValue
in interface BindingConverter<Boolean,Boolean>
targetValue
- the value to convertCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.