Class SessionProvider

java.lang.Object
com.sshtools.common.ui.SessionProvider

public class SessionProvider extends Object

Instances of this class are created by the SessionProviderFactory for each installed session provider. Instances of this class can be supplied to the SessionProviderFrame to create windows contains the session providers service

Version:
$Id: SessionProvider.java,v 1.12 2003/09/22 15:57:57 martianx Exp $
Author:
Lee David Painter
  • Method Details

    • getName

      public String getName()
      Get the name of the provider e.g. 'Terminal Session'.
      Returns:
    • getProviderClass

      public Class getProviderClass()
      Get the class instance for the session providers implementation.
      Returns:
    • getPropertyPages

      public Class[] getPropertyPages()
      Get an array of class instances for the providers property pages.
      Returns:
    • getDescription

      public String getDescription()
      Get the description of the provider e.g. 'Opens a terminal session'
      Returns:
    • getMnemonic

      public char getMnemonic()
      Get the mnemonic character for key access
      Returns:
    • getWeight

      public int getWeight()
      Get the weight of the provider.
      Returns:
    • getId

      public String getId()
      Get the id of the provider e.g. 'sshterm'.
      Returns:
    • getSmallIcon

      public ResourceIcon getSmallIcon()
      Get the small icon of the provider.
      Returns:
    • getLargeIcon

      public ResourceIcon getLargeIcon()
      Get the large icon of the provider.
      Returns:
    • getOptionsClass

      public Class getOptionsClass()
      Get the options class implementation
      Returns:
    • equals

      public boolean equals(Object obj)
      Compares this session provider against another object. This method will only return true if the object provided is an instance of SessionProvider and that the provider id and implementation class are equal.
      Overrides:
      equals in class Object
      Parameters:
      obj -
      Returns:
    • toString

      public String toString()
      Returns the name of the provider.
      Overrides:
      toString in class Object
      Returns: