public class TextManager extends UIProperties<String,TextValue,TextBridge>
String
-String
pairs used by various objects. Each String
can
be stored with different priorities
and can be replaced at any time. Clients should not access
the entries directly, they should create a TextValue
and register it in order to receive updates
when necessary.Modifier and Type | Field and Description |
---|---|
static Path |
TEXT_EXTENSION
Name of an
ExtensionName to load additional ResourceBundle s |
static String |
TEXT_EXTENSION_LOCALE
Key for a
Locale that is associated with TEXT_EXTENSION |
Constructor and Description |
---|
TextManager(DockController controller)
Creates a new
TextManager . |
Modifier and Type | Method and Description |
---|---|
List<ResourceBundle> |
loadExtensionBundles(Locale locale)
|
add, clear, get, get, getBridge, getBridgeFor, getController, getScheme, isObserved, isObserved, isStored, lockUpdate, publish, put, remove, setScheme, unlockUpdate, unpublish, unpublish
public static final Path TEXT_EXTENSION
ExtensionName
to load additional ResourceBundle
spublic static final String TEXT_EXTENSION_LOCALE
Locale
that is associated with TEXT_EXTENSION
public TextManager(DockController controller)
TextManager
.controller
- the owner of this managerpublic List<ResourceBundle> loadExtensionBundles(Locale locale)
locale
- the requested language