Package jmri.swing
Class PermissionSwingTools
- java.lang.Object
- 
- jmri.swing.PermissionSwingTools
 
- 
 public final class PermissionSwingTools extends java.lang.Object Permission Swing tools.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringadapterNameForClass(java.lang.Class<?> c)Find the name of the adapter class for an object.static java.lang.StringadapterNameForObject(java.lang.Object o)Find the name of the adapter class for an object.static PermissionSwinggetPermissionSwingForClass(Permission permission)Get a SwingConfiguratorInterface for a class
 
- 
- 
- 
Method Detail- 
adapterNameForObjectpublic static java.lang.String adapterNameForObject(java.lang.Object o) Find the name of the adapter class for an object.- Parameters:
- o- object of a configurable type
- Returns:
- class name of adapter
 
 - 
adapterNameForClasspublic static java.lang.String adapterNameForClass(java.lang.Class<?> c) Find the name of the adapter class for an object.- Parameters:
- c- class of a configurable type
- Returns:
- class name of adapter
 
 - 
getPermissionSwingForClasspublic static PermissionSwing getPermissionSwingForClass(Permission permission) Get a SwingConfiguratorInterface for a class- Parameters:
- permission- The permission to get a PermissionSwing of
- Returns:
- a PermissionSwing object
 
 
- 
 
-