Package jmri.util.usb
Class UsbBrowserStartupActionFactory
java.lang.Object
jmri.util.startup.AbstractStartupActionFactory
jmri.util.usb.UsbBrowserStartupActionFactory
- All Implemented Interfaces:
JmriServiceProviderInterface,StartupActionFactory
StartupActionFactory for the
UsbBrowserAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]Get the classes this factory supports.String[]getOverriddenClasses(Class<?> clazz) Get startup actions overridden by the given class.Get the title for the given class.Methods inherited from class jmri.util.startup.AbstractStartupActionFactory
getTitle
-
Constructor Details
-
UsbBrowserStartupActionFactory
public UsbBrowserStartupActionFactory()
-
-
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
-
getOverriddenClasses
Description copied from class:AbstractStartupActionFactoryGet startup actions overridden by the given class. This is designed to allow a new class to replace a deprecated class.Note: the behavior is undefined if multiple classes override a single class.
This implementation returns an empty array.
- Specified by:
getOverriddenClassesin interfaceStartupActionFactory- Overrides:
getOverriddenClassesin classAbstractStartupActionFactory- Parameters:
clazz- the class- Returns:
- an empty array
- Throws:
IllegalArgumentException- if the class is not supported by this factory
-