|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.util.AbstractUIScheme<String,TextValue,TextBridge> bibliothek.gui.dock.util.text.DefaultTextScheme
public class DefaultTextScheme
This UIScheme
is used by the TextManager
to load the default set of strings from
one or several ResourceBundle
s.
Constructor Summary | |
---|---|
DefaultTextScheme(ResourceBundle... bundles)
Creates a new scheme reading content from bundles |
Method Summary | |
---|---|
TextBridge |
getBridge(Path name,
UIProperties<String,TextValue,TextBridge> properties)
Creates the UIBridge that handles resources of type name . |
String |
getResource(String name,
UIProperties<String,TextValue,TextBridge> properties)
Creates the resource with name name . |
void |
install(UIProperties<String,TextValue,TextBridge> properties)
Informs this scheme that it is now used by properties . |
void |
uninstall(UIProperties<String,TextValue,TextBridge> properties)
Informs this scheme that it is no longer used by properties . |
Methods inherited from class bibliothek.gui.dock.util.AbstractUIScheme |
---|
addListener, fire, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTextScheme(ResourceBundle... bundles)
bundles
bundles
- the bundles to read, must not contain a null
valueMethod Detail |
---|
public TextBridge getBridge(Path name, UIProperties<String,TextValue,TextBridge> properties)
UIScheme
UIBridge
that handles resources of type name
.
name
- the name of the bridgeproperties
- the map that will use the resource
null
if this scheme does not know name
public String getResource(String name, UIProperties<String,TextValue,TextBridge> properties)
UIScheme
name
. This method may be called often
and should complete quickly.
name
- the name of some resourceproperties
- the map that will use the resource
null
if this scheme does not know name
public void install(UIProperties<String,TextValue,TextBridge> properties)
UIScheme
properties
.
properties
- the owner of this schemepublic void uninstall(UIProperties<String,TextValue,TextBridge> properties)
UIScheme
properties
.
properties
- an old client of this scheme
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |