Package com.sshtools.common.ui
Class SessionProvider
- java.lang.Object
-
- 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 theSessionProviderFrame
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 accessjava.lang.String
getName()
Get the name of the provider e.g.java.lang.Class
getOptionsClass()
Get the options class implementationjava.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.
-
-
-
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 ofSessionProvider
and that the provider id and implementation class are equal.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-- Returns:
-
toString
public java.lang.String toString()
Returns the name of the provider.- Overrides:
toString
in classjava.lang.Object
- Returns:
-
-