|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.common.ui.SessionProvider
public class SessionProvider
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
Field Summary | |
---|---|
(package private) java.lang.Class |
cls
|
(package private) java.lang.String |
description
|
(package private) java.lang.String |
id
|
(package private) ResourceIcon |
largeicon
|
(package private) char |
mnemonic
|
(package private) java.lang.String |
name
|
(package private) java.lang.Class |
optionsClass
|
(package private) java.lang.Class[] |
propertypages
|
(package private) ResourceIcon |
smallicon
|
(package private) int |
weight
|
Constructor Summary | |
---|---|
SessionProvider(java.lang.String id,
java.lang.String name,
java.lang.Class cls,
java.lang.String description,
java.lang.String mnemonic,
java.lang.String smallicon,
java.lang.String largeicon,
java.lang.Class optionsClass,
java.lang.Class[] propertypages,
int weight)
|
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 |
Field Detail |
---|
java.lang.String id
java.lang.String name
java.lang.Class cls
java.lang.String description
char mnemonic
ResourceIcon smallicon
ResourceIcon largeicon
java.lang.Class[] propertypages
int weight
java.lang.Class optionsClass
Constructor Detail |
---|
SessionProvider(java.lang.String id, java.lang.String name, java.lang.Class cls, java.lang.String description, java.lang.String mnemonic, java.lang.String smallicon, java.lang.String largeicon, java.lang.Class optionsClass, java.lang.Class[] propertypages, int weight)
Method Detail |
---|
public java.lang.String getName()
public java.lang.Class getProviderClass()
public java.lang.Class[] getPropertyPages()
public java.lang.String getDescription()
public char getMnemonic()
public int getWeight()
public java.lang.String getId()
public ResourceIcon getSmallIcon()
public ResourceIcon getLargeIcon()
public java.lang.Class getOptionsClass()
public boolean equals(java.lang.Object obj)
SessionProvider
and that the provider id and implementation
class are equal.
equals
in class java.lang.Object
obj
-
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |