|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionParametersReceiver
ConnectionParametersReceiver
describes the class that can
accept ConnectionParameters
. The purpose of the interface is to
identify the class as the object, whose connectionParameters property
can be configured through property editors. Implementor of this class
should follow java beans conventions.
Field Summary | |
---|---|
static java.lang.String |
CONNECTION_PARAMETERS_PROPERTY
ConnectionParameters property name tag |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener which listenes to all properties. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to this receiver. |
ConnectionParameters |
getConnectionParameters()
Returns ConnectionParameters associated with this receiver. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener associated with the specified property. |
void |
setConnectionParameters(ConnectionParameters cp)
Sets the ConnectionParameters to the receiver. |
Field Detail |
---|
static final java.lang.String CONNECTION_PARAMETERS_PROPERTY
Method Detail |
---|
ConnectionParameters getConnectionParameters()
void setConnectionParameters(ConnectionParameters cp) throws CommonException, java.beans.PropertyVetoException
cp
- new parameters
CommonException
- if connection establishing failed
java.beans.PropertyVetoException
- if setting failed due to improper parametersvoid addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
propertyName
was
changed.
propertyName
- the name of the property which the listener listenslistener
- the listenervoid removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
propertyName
- the name of the property which the listener listenslistener
- the listenervoid addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- the listenervoid removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |