public class AppView extends java.lang.Object implements IView, javafx.fxml.Initializable
Constructor and Description |
---|
AppView(AppController controller) |
Modifier and Type | Method and Description |
---|---|
javafx.scene.layout.Pane |
getContent()
Returns the Container which inherits all GUI Elements loaded from the FXML file
|
void |
initialize(java.net.URL location,
java.util.ResourceBundle resources) |
void |
Login()
is fire if user click login button.
|
void |
setError(java.lang.String error)
set a error on screen
|
void |
setErrors(java.util.List<java.lang.String> errors)
set a list of errors on screen
|
public AppView(AppController controller)
public void setErrors(java.util.List<java.lang.String> errors)
errors
- list of errorspublic void setError(java.lang.String error)
error
- error as stringpublic void Login()
public javafx.scene.layout.Pane getContent()
IView
getContent
in interface IView
public void initialize(java.net.URL location, java.util.ResourceBundle resources)
initialize
in interface javafx.fxml.Initializable