Package org.jdesktop.swingx.renderer
Class StringValues
java.lang.Object
org.jdesktop.swingx.renderer.StringValues
A collection of common
StringValue
implementations.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
StringValue wrapper of type UIResource to tag LAF installed converters. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FormatStringValue
Default converter forDate
types.private static Locale
keep track of default locale.static final StringValue
AStringValue
that always presents an empty string.static final StringValue
static final StringValue
AStringValue
that presents the current Linvalid input: '&F' display name for a given file.static final StringValue
AStringValue
that presents the current Linvalid input: '&F' type name for a given file.static final FormatStringValue
Default converter forNumber
types.static final StringValue
AStringValue
that presents atoString
value for the given object.static final StringValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
Returns a boolean to indicate if the default Locale has changed.
-
Field Details
-
EMPTY
AStringValue
that always presents an empty string. -
TO_STRING
-
FILE_NAME
-
FILE_TYPE
-
defaultLocale
keep track of default locale. -
DATE_TO_STRING
Default converter forDate
types. Uses the default format as returned fromDateFormat
. -
NUMBER_TO_STRING
Default converter forNumber
types. 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.
-