public class RegisterController extends Controller
Modifier and Type | Field and Description |
---|---|
private UserDB |
database |
private RegisterView |
view |
master
Constructor and Description |
---|
RegisterController(ControllerMaster master) |
Modifier and Type | Method and Description |
---|---|
void |
createUser(java.lang.String userName,
java.lang.String password)
Creates a new user and inserts it in the database
|
void |
goToLogin()
Goes to the login view
|
isHelpOpen, onHelpViewStatusChanged
private UserDB database
private RegisterView view
public RegisterController(ControllerMaster master)