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 voidAdds a resource bundle.static voidAdds a resource bundle.static Stringstatic Stringstatic StringReturns the value for the specified resource key.static StringReturns the value for the specified resource key.static LinkedList<ResourceBundle> Returns the bundles.protected static StringgetResource(String key) Returns the value forkeyby searching the resource bundles in inverse order ornullif no value can be found forkey.static voidsetBundles(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 forkeyby searching the resource bundles in inverse order ornullif no value can be found forkey.
-