Package com.palantir.ptoss.cinch.swing
Class Bound.Utilities
java.lang.Object
com.palantir.ptoss.cinch.swing.Bound.Utilities
- Enclosing class:
- Bound
Inner utility class to simplify figuring out how to display null values in controls.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ObjectgetNullValue(BindingContext context, String nullValue) If the provided nullValue is null, empty, or just whitespace then the returned value will be null.
- 
Constructor Details- 
Utilitiespublic Utilities()
 
- 
- 
Method Details- 
getNullValueIf the provided nullValue is null, empty, or just whitespace then the returned value will be null. Otherwise, this function will look in the providedBindingContextto find a constant with the name of the nullValue string and return that. If there is no constant then the nullValue string itself will be returned.- See Also:
 
 
-