Package jmri.jmrix
Class ResourceBundleStartupActionFactory
java.lang.Object
jmri.util.startup.AbstractStartupActionFactory
jmri.jmrix.ResourceBundleStartupActionFactory
- All Implemented Interfaces:
JmriServiceProviderInterface,StartupActionFactory
Create a factory of startup actions from a ResourceBundle.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods inherited from class jmri.util.startup.AbstractStartupActionFactory
getOverriddenClasses, getTitle
-
Constructor Details
-
ResourceBundleStartupActionFactory
-
-
Method Details
-
getTitle
Description copied from interface:StartupActionFactoryGet the title for the given class.- Parameters:
clazz- the classlocale- the desired locale for the title- Returns:
- the title in the given locale
- Throws:
IllegalArgumentException- if the class is not supported by this factory
-
getActionClasses
Description copied from interface:StartupActionFactoryGet the classes this factory supports.- Returns:
- the supported classes or an empty array
-