2022-01-29 10:06:28 +01:00
|
|
|
package users;
|
|
|
|
|
2022-01-29 12:03:09 +01:00
|
|
|
import container.User;
|
2022-01-29 10:06:28 +01:00
|
|
|
|
|
|
|
public class EditUserController extends CreateUserController{
|
|
|
|
private User currentUser;
|
|
|
|
|
|
|
|
public User getCurrentUser() {
|
|
|
|
return currentUser;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCurrentUser(User currentUser) {
|
|
|
|
this.currentUser = currentUser;
|
|
|
|
|
|
|
|
textForename.setText(currentUser.getForename());
|
|
|
|
textName.setText(currentUser.getName());
|
|
|
|
textLogin.setText(currentUser.getLogin());
|
|
|
|
}
|
|
|
|
}
|