Package com.mxgraph.util
Class mxResources
java.lang.Object
com.mxgraph.util.mxResources
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static LinkedList
<ResourceBundle> Ordered list of the inserted resource bundles. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Adds a resource bundle.static void
Adds a resource bundle.static String
static String
static String
Returns the value for the specified resource key.static String
Returns the value for the specified resource key.static LinkedList
<ResourceBundle> Returns the bundles.protected static String
getResource
(String key) Returns the value forkey
by searching the resource bundles in inverse order ornull
if no value can be found forkey
.static void
setBundles
(LinkedList<ResourceBundle> value) Sets the bundles.
-
Field Details
-
bundles
Ordered list of the inserted resource bundles.
-
-
Constructor Details
-
mxResources
public mxResources()
-
-
Method Details
-
getBundles
Returns the bundles.- Returns:
- Returns the bundles.
-
setBundles
Sets the bundles.- Parameters:
value
- The bundles to set.
-
add
Adds a resource bundle. This may throw a MissingResourceException that should be handled in the calling code.- Parameters:
basename
- The basename of the resource bundle to add.
-
add
Adds a resource bundle. This may throw a MissingResourceException that should be handled in the calling code.- Parameters:
basename
- The basename of the resource bundle to add.
-
get
-
get
-
get
Returns the value for the specified resource key. -
get
Returns the value for the specified resource key. -
getResource
Returns the value forkey
by searching the resource bundles in inverse order ornull
if no value can be found forkey
.
-