Package jmri.jmrit.logixng.swing
Class SwingTools
java.lang.Object
jmri.jmrit.logixng.swing.SwingTools
LogixNG Swing tools.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringadapterNameForClass(Class<?> c) Find the name of the adapter class for an object.static StringFind the name of the adapter class for an object.static SwingConfiguratorInterfacegetSwingConfiguratorForClass(Class<?> clazz) Get a SwingConfiguratorInterface for a classstatic SwingConfiguratorInterfacegetSwingConfiguratorForObject(Object object) Get a SwingConfiguratorInterface for an object
-
Method Details
-
adapterNameForObject
Find the name of the adapter class for an object.- Parameters:
o- object of a configurable type- Returns:
- class name of adapter
-
adapterNameForClass
Find the name of the adapter class for an object.- Parameters:
c- class of a configurable type- Returns:
- class name of adapter
-
getSwingConfiguratorForObject
Get a SwingConfiguratorInterface for an object- Parameters:
object- The object to get a SwingConfiguratorInterface of- Returns:
- a SwingConfiguratorInterface object
-
getSwingConfiguratorForClass
Get a SwingConfiguratorInterface for a class- Parameters:
clazz- The class to get a SwingConfiguratorInterface of- Returns:
- a SwingConfiguratorInterface object
-