com.sshtools.common.ui

Class 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(Object obj)
Compares this session provider against another object.
String
getDescription()
Get the description of the provider e.g.
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
String
getName()
Get the name of the provider e.g.
Class
getOptionsClass()
Get the options class implementation
Class[]
getPropertyPages()
Get an array of class instances for the providers property pages.
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.
String
toString()
Returns the name of the provider.

Method Details

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.
Parameters:
obj -
Returns:

getDescription

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

getId

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

getLargeIcon

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

getMnemonic

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

getName

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

getOptionsClass

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

getPropertyPages

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

getProviderClass

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

getSmallIcon

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

getWeight

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

toString

public String toString()
Returns the name of the provider.
Returns:

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