|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.option.AbstractGuiFactory
y.option.ResourceBundleGuiFactory
public class ResourceBundleGuiFactory
Simple default implementation of GuiFactory which takes the String values from a list of ResourceBundles.
![]() |
![]() |
| Constructor Summary | |
|---|---|
ResourceBundleGuiFactory()
|
|
| Method Summary | |
|---|---|
void |
addBundle(java.util.ResourceBundle rb)
Adds a ResourceBundle to the list of bundles that are checked
for localized strings. |
void |
addBundle(java.lang.String baseName)
Adds a ResourceBundle to the list of bundles that are checked
for localized strings. |
java.lang.String |
getString(java.lang.String key)
Localize a string. |
| Methods inherited from class y.option.AbstractGuiFactory |
|---|
createButton, createHelpAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceBundleGuiFactory()
| Method Detail |
|---|
public void addBundle(java.lang.String baseName)
throws java.util.MissingResourceException
ResourceBundle to the list of bundles that are checked
for localized strings.
addBundle(ResourceBundle).
baseName - the base name of the resource bundle to add,
a fully qualified class name
java.util.MissingResourceException - if no resource bundle for the specified
base name can be foundpublic void addBundle(java.util.ResourceBundle rb)
ResourceBundle to the list of bundles that are checked
for localized strings.
rb - the resource bundle to addpublic java.lang.String getString(java.lang.String key)
key - the key
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||