Package jmri.jmrit.swing.meter
Class MeterStartupActionFactory
- java.lang.Object
-
- jmri.util.startup.AbstractStartupActionFactory
-
- jmri.jmrit.swing.meter.MeterStartupActionFactory
-
- All Implemented Interfaces:
JmriServiceProviderInterface
,StartupActionFactory
public final class MeterStartupActionFactory extends AbstractStartupActionFactory
Factory for meter startup actions.
-
-
Constructor Summary
Constructors Constructor Description MeterStartupActionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>[]
getActionClasses()
Get the classes this factory supports.java.lang.String
getTitle(java.lang.Class<?> clazz, java.util.Locale locale)
Get the title for the given class.-
Methods inherited from class jmri.util.startup.AbstractStartupActionFactory
getOverriddenClasses, getTitle
-
-
-
-
Constructor Detail
-
MeterStartupActionFactory
public MeterStartupActionFactory()
-
-
Method Detail
-
getTitle
public java.lang.String getTitle(java.lang.Class<?> clazz, java.util.Locale locale) throws java.lang.IllegalArgumentException
Description copied from interface:StartupActionFactory
Get the title for the given class.- Parameters:
clazz
- the classlocale
- the desired locale for the title- Returns:
- the title in the given locale
- Throws:
java.lang.IllegalArgumentException
- if the class is not supported by this factory
-
getActionClasses
public java.lang.Class<?>[] getActionClasses()
Description copied from interface:StartupActionFactory
Get the classes this factory supports.- Returns:
- the supported classes or an empty array
-
-