Class StringValues
java.lang.Object
org.jdesktop.swingx.renderer.StringValues
A collection of common
StringValue implementations.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classStringValue wrapper of type UIResource to tag LAF installed converters. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FormatStringValueDefault converter forDatetypes.private static Localekeep track of default locale.static final StringValueAStringValuethat always presents an empty string.static final StringValuestatic final StringValueAStringValuethat presents the current Linvalid input: '&F' display name for a given file.static final StringValueAStringValuethat presents the current Linvalid input: '&F' type name for a given file.static final FormatStringValueDefault converter forNumbertypes.static final StringValueAStringValuethat presents atoStringvalue for the given object.static final StringValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanReturns a boolean to indicate if the default Locale has changed.
-
Field Details
-
EMPTY
AStringValuethat always presents an empty string. -
TO_STRING
-
FILE_NAME
-
FILE_TYPE
-
defaultLocale
keep track of default locale. -
DATE_TO_STRING
Default converter forDatetypes. Uses the default format as returned fromDateFormat. -
NUMBER_TO_STRING
Default converter forNumbertypes. Uses the default format as returned fromNumberFormat. -
TO_STRING_UI
-
EMPTY_UI
-
-
Constructor Details
-
StringValues
private StringValues()
-
-
Method Details
-
localeChanged
private static boolean localeChanged()Returns a boolean to indicate if the default Locale has changed. Updates internal state to keep track of the default Locale.- Returns:
- true if the default Locale has changed.
-