OwnerContactsController, OwnerGroupsController, OwnerSecureController, OwnerUsersController, UserContactsController, UserGroupsControllerpublic class MasterController extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected ObservableList<ObservableList<String>> |
data |
|
protected static Database |
db |
Database object to use in GUI.
|
protected static String |
DBNAME |
Name of database to use in GUI.
|
protected static boolean |
isOwner |
Is current user of GUI the owner of the database?
|
protected static String |
OWNER |
Owner of database being used in GUI.
|
protected ComboBox<String> |
selection |
|
protected ObservableList<String> |
selections |
|
protected TableView<ObservableList<String>> |
table |
|
protected static String |
USER |
Current user of GUI.
|
protected static List<String> |
USERS |
List of users for the database in the GUI.
|
| Constructor | Description |
|---|---|
MasterController() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
displayTable(String tableName,
double columnWidth,
boolean firstTime) |
|
protected static String |
get(TextField field) |
|
protected static boolean |
refreshApp(String fxml) |
Calls
refreshApp(java.lang.String,java.lang.String) with title = null. |
protected static boolean |
refreshApp(String fxml,
String title) |
Attempts to refresh the GUI, loading the FXML page specified.
|
protected static Database db
protected static String DBNAME
protected static String USER
protected static String OWNER
protected static boolean isOwner
protected TableView<ObservableList<String>> table
protected ObservableList<ObservableList<String>> data
protected ObservableList<String> selections
protected static String get(TextField field)
field - TextField or PasswordField which should be
converted to a StringString contents of the given TextField or
PasswordField, or null if field is nullprotected static boolean refreshApp(String fxml, String title)
If title is null, the window title will not be changed.
To remove / clear the window title, set title = "".
fxml - *.fxml page to opentitle - title to set in the menubar at the top of the apptrue if the specified page was successfully loadedprotected static boolean refreshApp(String fxml)
refreshApp(java.lang.String,java.lang.String) with title = null.fxml - *.fxml page to opentrue if the specified page was successfully loadedprotected void displayTable(String tableName, double columnWidth, boolean firstTime)
Copyright © 2018–2019 IBAT. All rights reserved.