public class Input extends Main
| Modifier and Type | Field and Description |
|---|---|
protected MyButton |
buildDatabaseButton |
protected static MyText |
databaseNameDisplay |
protected MyText |
databaseText |
protected MyButton |
helpButton |
protected MyLabel |
inputTitle |
protected MyButton |
textfileButton |
protected MyText |
textfileNameDisplay |
protected MyText |
textfileText |
| Constructor and Description |
|---|
Input(javafx.stage.Stage stage)
This constructor instantiates all of the controls of the interfaces input
section and calls several methods to set the controls properties and event
handling.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getDatabaseDirPath() |
static String |
getDatabaseName() |
static String |
getDatabasePath() |
static String |
getTextfileName() |
static String |
getTextfilePath() |
void |
handle(javafx.event.ActionEvent event)
Method handles the helpButtons action and displays an AlertBox for user
support.
|
static void |
setDatabaseDirPath(String path) |
static void |
setDatabaseName(String name) |
static void |
setDatabasePath(String path) |
static void |
setTextfileName(String name) |
static void |
setTextfilePath(String path) |
init, main, start, stopprotected MyLabel inputTitle
protected MyButton helpButton
protected MyText textfileText
protected MyText databaseText
protected MyButton textfileButton
protected MyButton buildDatabaseButton
protected MyText textfileNameDisplay
protected static MyText databaseNameDisplay
public Input(javafx.stage.Stage stage)
stage - the jfx stagepublic void handle(javafx.event.ActionEvent event)
public static String getTextfilePath()
public static String getTextfileName()
public static String getDatabaseDirPath()
public static String getDatabasePath()
public static String getDatabaseName()
public static void setTextfilePath(String path)
public static void setTextfileName(String name)
public static void setDatabaseDirPath(String path)
public static void setDatabasePath(String path)
public static void setDatabaseName(String name)
Copyright © 2018. All rights reserved.