Package | Description |
---|---|
org.softsmithy.lib.swing |
Utility classes and extensions for the
javax.swing package. |
org.softsmithy.lib.text |
Utility classes and extensions for the
java.text package. |
Constructor and Description |
---|
LocalizerCellRenderer(Localizer<? super T> localizer) |
LocalizerCellRenderer(Localizer<? super T> localizer,
HorizontalAlignment horizontalAlignment) |
Modifier and Type | Class and Description |
---|---|
class |
LocaleLocalizer
This class specifies, which display String should be used with Locales
(see strategy pattern).
|
class |
ResourceBundleLocalizer<T> |
Modifier and Type | Method and Description |
---|---|
<T> GenericCollationKey<T> |
LocalizedCollator.getCollationKey(T source,
Localizer<? super T> localizer)
Gets the collation key for the given source using the specified
Localizer . |
static <T> void |
Localizables.sort(Localizer<? super T> localizer,
List<T> list)
Sorts a list of objects in the natural, locale-sensitive order of
their
getDisplayString(java.lang.Object, java.util.Locale) -representation
(uses the default locale). |
static <T> void |
Localizables.sort(Localizer<? super T> localizer,
Locale inLocale,
List<T> list)
Sorts a list of objects in the natural, locale-sensitive order of
their
getDisplayString(java.lang.Object, java.util.Locale) -representation. |
static <T> void |
Localizables.sort(Localizer<? super T> localizer,
Locale inLocale,
T... objects)
Sorts an array of objects in the natural, locale-sensitive order of
their
getDisplayString(java.lang.Object, java.util.Locale) -representation. |
static <T> void |
Localizables.sort(Localizer<? super T> localizer,
LocalizedCollator collator,
List<T> list)
Sorts a list of objects in the natural, locale-sensitive order of
their
getDisplayString(java.lang.Object, java.util.Locale) -representation
as specified by the collator. |
static <T> void |
Localizables.sort(Localizer<? super T> localizer,
LocalizedCollator collator,
T... objects)
Sorts an array of objects in the natural, locale-sensitive order of
their
getDisplayString(java.lang.Object, java.util.Locale) -representation
as specified by the collator. |
static <T> void |
Localizables.sort(Localizer<? super T> localizer,
T... objects)
Sorts an array of objects in the natural, locale-sensitive order of
their
getDisplayString(java.lang.Object, java.util.Locale) -representation
(uses the default locale). |
Copyright © 2002–2016 SoftSmithy. All rights reserved.