chrriis.dj.swingsuite
Interface TextEntryFormatter
public interface TextEntryFormatter
A formatter for a text entry field when it does not have the focus.
- Author:
- Christopher Deckers
getTextForDisplay
String getTextForDisplay(JTextEntryField textEntryField,
String validText)
- Get the text to show when the field does not have the focus.
- Parameters:
textEntryField
- The text entry field for which to display the value.validText
- The text for which to show a representation.
- Returns:
- a specific value or null for the default.