public class AppController extends AgentController
| Constructor and Description |
|---|
AppController()
Constructor for tla controller.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeApp()
Close the whole Application
|
void |
initializeStage(javafx.stage.Stage stage)
set the stage for root window ui in javafx
IMPORTANT: stage must be set before run a pane!
|
void |
LoginValid(User user)
check if user login valid and redirect to other page. otherwise if false,
then display an error code on screen.
|
void |
logout()
Logout and display the Login Pane
|
boolean |
setupAgent()
is called by create an agent. and setup default values.
|
void |
showLoginPane()
show login pane with default stage values.
|
addChild, getParent, receiveMessage, removeCildren, setParentpublic boolean setupAgent()
AgentControllersetupAgent in class AgentControllerpublic void initializeStage(javafx.stage.Stage stage)
stage - top level element of javafx containerpublic void showLoginPane()
public void closeApp()
public void logout()
public void LoginValid(User user)
user - user which will be logged injava.lang.Exception