Package jmri.swing

Class PermissionSwingTools

java.lang.Object
jmri.swing.PermissionSwingTools

public final class PermissionSwingTools extends Object
Permission Swing tools.
  • Method Details

    • adapterNameForObject

      public static String adapterNameForObject(Object o)
      Find the name of the adapter class for an object.
      Parameters:
      o - object of a configurable type
      Returns:
      class name of adapter
    • adapterNameForClass

      public static String adapterNameForClass(Class<?> c)
      Find the name of the adapter class for an object.
      Parameters:
      c - class of a configurable type
      Returns:
      class name of adapter
    • getPermissionSwingForClass

      Get a SwingConfiguratorInterface for a class
      Parameters:
      permission - The permission to get a PermissionSwing of
      Returns:
      a PermissionSwing object