|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IConnectionCategory
Meta-object describing a category of connections. A category of connections communicate using the same metaphors.
Connections with a category are identified as connection types. Descriptors for these connection types are available
using getConnections(). Each connection type is described by an IConnectionDescriptor, and is associated
with a specific implementation of IConnection. All connections in an IConnectionCategory must implement
a common interface. The class name of is available using getConnectionType()
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Method Summary | |
|---|---|
java.lang.String |
getAbbreviatedName()
Returns a short version of the name of this IConnectionCategory suitable for use in user interfaces
where only a small amount of space is available to render the name. |
IConnectionDescriptor[] |
getConnections()
Returns an IConnectionDescriptor for each connection type in this IConnectionCategory |
java.lang.String |
getConnectionType()
Returns the name of the superclass of all IConnection implementations for connection types in this
IConnectionCategory |
java.net.URL |
getIconPath()
Returns a URL identifying an icon that can be used to represent this connection in user interfaces. |
java.lang.String |
getId()
Gets the unique ID of this IConnectionCategory. |
java.lang.String |
getName()
Gets the name of this category of connections, to be used in user interfaces. |
java.lang.Class<? extends IConnection> |
getType()
Retrieves the superclass of all IConnection implementations for all connection types in this category. |
| Field Detail |
|---|
static final java.lang.String COPYRIGHT
| Method Detail |
|---|
java.lang.String getName()
IConnectionCategoryIConnectionDescriptor[] getConnections()
IConnectionDescriptor for each connection type in this IConnectionCategory
IConnectionDescriptors, which may be empty.java.lang.String getConnectionType()
IConnection implementations for connection types in this
IConnectionCategory
String that is the name of a Classjava.lang.String getId()
IConnectionCategory. Can be used to retrieve this category from
the ConnectionRegistry using ConnectionRegistry.getConnectionCategory(String).
IConnectionCategory.java.lang.String getAbbreviatedName()
IConnectionCategory suitable for use in user interfaces
where only a small amount of space is available to render the name.
IConnectionCategory.java.net.URL getIconPath()
URL identifying an icon that can be used to represent this connection in user interfaces.
URL for an icon, or null if none is available.
java.lang.Class<? extends IConnection> getType()
throws java.lang.ClassNotFoundException
IConnection implementations for all connection types in this category.
IConnection implementations for all connection types in this category.
java.lang.ClassNotFoundException - if the class for this IConnectionCategory can't be found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||