Exemplo n.º 1
0
 /**
  * Sets the password value.
  *
  * @param password the user password
  */
 public void setPassword(String password) {
   String oldPass = this.password;
   this.password = password;
   changes.firePropertyChange("password", oldPass, password);
 }
Exemplo n.º 2
0
 /**
  * Sets the folder name value.
  *
  * @param folderName the folder name
  */
 public void setFolderName(String folderName) {
   String oldFolderName = this.folderName;
   this.folderName = folderName;
   changes.firePropertyChange("folderName", oldFolderName, folderName);
 }
Exemplo n.º 3
0
 /**
  * Sets the user name value.
  *
  * @param userName the user name
  */
 public void setUserName(String userName) {
   String oldName = this.userName;
   this.userName = userName;
   changes.firePropertyChange("userName", oldName, userName);
 }
Exemplo n.º 4
0
 /**
  * Delete association of PropertyChangeListener with the ConnectionSpecImpl.
  *
  * @param listener the listener to be deleted
  */
 public void removePropertyChangeListener(PropertyChangeListener listener) {
   changes.removePropertyChangeListener(listener);
 }
Exemplo n.º 5
0
 /**
  * Associate PropertyChangeListener with the ConnectionSpecImpl in order to notify about
  * properties changes.
  *
  * @param listener the listener to be associated with the connection spec
  */
 public void addPropertyChangeListener(PropertyChangeListener listener) {
   changes.addPropertyChangeListener(listener);
 }
Exemplo n.º 6
0
 /**
  * Sets the protocol value.
  *
  * @param protocol the server name
  */
 public void setProtocol(String protocol) {
   String oldProtocol = this.protocol;
   this.protocol = protocol;
   changes.firePropertyChange("protocol", oldProtocol, protocol);
 }
Exemplo n.º 7
0
 /**
  * Sets the server name value.
  *
  * @param serverName the server name
  */
 public void setServerName(String serverName) {
   String oldServerName = this.serverName;
   this.serverName = serverName;
   changes.firePropertyChange("serverName", oldServerName, serverName);
 }