|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionFactory
| Method Summary | |
|---|---|
void |
addConnectionFactoryListener(ConnectionFactoryListener listener)
Add a listener for changes in the connection collection. |
String |
getDescription()
Get a description of the type of connections this factory handles. |
ConnectionEditor |
getEditor()
The factory should provide an editor for the type of connections the factory handles. |
ImageIcon |
getIcon()
The factory can provide an icon to represent the connection type it handles. |
String |
getName()
The connection factory should provide a short name for the type of connections the factory handles. |
Connection[] |
listConnections()
Get all connections this factory handles. |
void |
removeConnection(Connection connection)
Delete a connection. |
void |
removeConnectionFactoryListener(ConnectionFactoryListener listener)
Remove a previously registered listener. |
| Method Detail |
|---|
void addConnectionFactoryListener(ConnectionFactoryListener listener)
listener - The listener.void removeConnectionFactoryListener(ConnectionFactoryListener listener)
listener - The listener to remove.
Connection[] listConnections()
throws BackendException
BackendException
void removeConnection(Connection connection)
throws BackendException
connection - The connection to delete.
BackendExceptionString getDescription()
String getName()
ImageIcon getIcon()
ConnectionEditor getEditor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||