Package org.jdesktop.swingx.renderer
Class StringValues
- java.lang.Object
-
- org.jdesktop.swingx.renderer.StringValues
-
public final class StringValues extends java.lang.ObjectA collection of commonStringValueimplementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringValues.StringValueUIResourceStringValue wrapper of type UIResource to tag LAF installed converters.
-
Field Summary
Fields Modifier and Type Field Description static FormatStringValueDATE_TO_STRINGDefault converter forDatetypes.private static java.util.LocaledefaultLocalekeep track of default locale.static StringValueEMPTYAStringValuethat always presents an empty string.static StringValueEMPTY_UIstatic StringValueFILE_NAMEAStringValuethat presents the current L&F display name for a given file.static StringValueFILE_TYPEAStringValuethat presents the current L&F type name for a given file.static FormatStringValueNUMBER_TO_STRINGDefault converter forNumbertypes.static StringValueTO_STRINGAStringValuethat presents atoStringvalue for the given object.static StringValueTO_STRING_UI
-
Constructor Summary
Constructors Modifier Constructor Description privateStringValues()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static booleanlocaleChanged()Returns a boolean to indicate if the default Locale has changed.
-
-
-
Field Detail
-
EMPTY
public static final StringValue EMPTY
AStringValuethat always presents an empty string.
-
TO_STRING
public static final StringValue TO_STRING
AStringValuethat presents atoStringvalue for the given object. If the value passed isnull, this has the same effect asEMPTY.
-
FILE_NAME
public static final StringValue FILE_NAME
AStringValuethat presents the current L&F display name for a given file. If the value passed toFILE_NAMEis not aFile, this has the same effect asTO_STRING.
-
FILE_TYPE
public static final StringValue FILE_TYPE
AStringValuethat presents the current L&F type name for a given file. If the value passed toFILE_TYPEis not aFile, this has the same effect asTO_STRING.
-
defaultLocale
private static java.util.Locale defaultLocale
keep track of default locale.
-
DATE_TO_STRING
public static final FormatStringValue DATE_TO_STRING
Default converter forDatetypes. Uses the default format as returned fromDateFormat.
-
NUMBER_TO_STRING
public static final FormatStringValue NUMBER_TO_STRING
Default converter forNumbertypes. Uses the default format as returned fromNumberFormat.
-
TO_STRING_UI
public static final StringValue TO_STRING_UI
-
EMPTY_UI
public static final StringValue EMPTY_UI
-
-