com.sshtools.common.ui
Class SessionProvider

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

public class SessionProvider
extends java.lang.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 Summary
 boolean equals(java.lang.Object obj)
          Compares this session provider against another object.
 java.lang.String getDescription()
          Get the description of the provider e.g.
 java.lang.String getId()
          Get the id of the provider e.g.
 ResourceIcon getLargeIcon()
          Get the large icon of the provider.
 char getMnemonic()
          Get the mnemonic character for key access
 java.lang.String getName()
          Get the name of the provider e.g.
 java.lang.Class getOptionsClass()
          Get the options class implementation
 java.lang.Class[] getPropertyPages()
          Get an array of class instances for the providers property pages.
 java.lang.Class getProviderClass()
          Get the class instance for the session providers implementation.
 ResourceIcon getSmallIcon()
          Get the small icon of the provider.
 int getWeight()
          Get the weight of the provider.
 java.lang.String toString()
          Returns the name of the provider.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Get the name of the provider e.g. 'Terminal Session'.

Returns:

getProviderClass

public java.lang.Class getProviderClass()
Get the class instance for the session providers implementation.

Returns:

getPropertyPages

public java.lang.Class[] getPropertyPages()
Get an array of class instances for the providers property pages.

Returns:

getDescription

public java.lang.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 java.lang.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 java.lang.Class getOptionsClass()
Get the options class implementation

Returns:

equals

public boolean equals(java.lang.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 java.lang.Object
Parameters:
obj -
Returns:

toString

public java.lang.String toString()
Returns the name of the provider.

Overrides:
toString in class java.lang.Object
Returns:


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.