|
mxGraph 1.11.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.util.mxResources
public class mxResources
Field Summary | |
---|---|
protected static LinkedList<ResourceBundle> |
bundles
Ordered list of the inserted resource bundles. |
Constructor Summary | |
---|---|
mxResources()
|
Method Summary | |
---|---|
static void |
add(String basename)
Adds a resource bundle. |
static void |
add(String basename,
Locale locale)
Adds a resource bundle. |
static String |
get(String key)
|
static String |
get(String key,
String defaultValue)
|
static String |
get(String key,
String[] params)
Returns the value for the specified resource key. |
static String |
get(String key,
String[] params,
String defaultValue)
Returns the value for the specified resource key. |
static LinkedList<ResourceBundle> |
getBundles()
Returns the bundles. |
protected static String |
getResource(String key)
Returns the value for key by searching the resource
bundles in inverse order or null if no value can be found
for key . |
static void |
setBundles(LinkedList<ResourceBundle> value)
Sets the bundles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static LinkedList<ResourceBundle> bundles
Constructor Detail |
---|
public mxResources()
Method Detail |
---|
public static LinkedList<ResourceBundle> getBundles()
public static void setBundles(LinkedList<ResourceBundle> value)
value
- The bundles to set.public static void add(String basename)
basename
- The basename of the resource bundle to add.public static void add(String basename, Locale locale)
basename
- The basename of the resource bundle to add.public static String get(String key)
public static String get(String key, String defaultValue)
public static String get(String key, String[] params)
public static String get(String key, String[] params, String defaultValue)
protected static String getResource(String key)
key
by searching the resource
bundles in inverse order or null
if no value can be found
for key
.
|
mxGraph 1.11.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |