Package org.jdesktop.swingx.renderer
Class StringValues
- java.lang.Object
-
- org.jdesktop.swingx.renderer.StringValues
-
public final class StringValues extends java.lang.Object
A collection of commonStringValue
implementations.- Author:
- Karl George Schaefer, Jeanette Winzenburg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringValues.StringValueUIResource
StringValue wrapper of type UIResource to tag LAF installed converters.
-
Field Summary
Fields Modifier and Type Field Description static FormatStringValue
DATE_TO_STRING
Default converter forDate
types.static StringValue
EMPTY
AStringValue
that always presents an empty string.static StringValue
EMPTY_UI
static StringValue
FILE_NAME
AStringValue
that presents the current L&F display name for a given file.static StringValue
FILE_TYPE
AStringValue
that presents the current L&F type name for a given file.static FormatStringValue
NUMBER_TO_STRING
Default converter forNumber
types.static StringValue
TO_STRING
AStringValue
that presents atoString
value for the given object.static StringValue
TO_STRING_UI
-
-
-
Field Detail
-
EMPTY
public static final StringValue EMPTY
AStringValue
that always presents an empty string.
-
TO_STRING
public static final StringValue TO_STRING
AStringValue
that presents atoString
value for the given object. If the value passed isnull
, this has the same effect asEMPTY
.
-
FILE_NAME
public static final StringValue FILE_NAME
AStringValue
that presents the current L&F display name for a given file. If the value passed toFILE_NAME
is not aFile
, this has the same effect asTO_STRING
.
-
FILE_TYPE
public static final StringValue FILE_TYPE
AStringValue
that presents the current L&F type name for a given file. If the value passed toFILE_TYPE
is not aFile
, this has the same effect asTO_STRING
.
-
DATE_TO_STRING
public static final FormatStringValue DATE_TO_STRING
Default converter forDate
types. Uses the default format as returned fromDateFormat
.
-
NUMBER_TO_STRING
public static final FormatStringValue NUMBER_TO_STRING
Default converter forNumber
types. 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
-
-