/** * 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); }
/** * 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); }
/** * 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); }
/** * Delete association of PropertyChangeListener with the ConnectionSpecImpl. * * @param listener the listener to be deleted */ public void removePropertyChangeListener(PropertyChangeListener listener) { changes.removePropertyChangeListener(listener); }
/** * 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); }
/** * 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); }
/** * 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); }