Package ch.autumo.ui.fx.controller
Class RegistrationController
java.lang.Object
ch.autumo.ui.fx.controller.BaseController
ch.autumo.ui.fx.controller.DefaultInfoController
ch.autumo.ui.fx.controller.RegistrationController
- All Implemented Interfaces:
javafx.fxml.Initializable
Registration Controller.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javafx.scene.control.TextField
Field: City.protected javafx.scene.control.TextField
Field: Company.protected javafx.scene.control.ComboBox
<CountryData.Country> Field: Country.protected javafx.scene.control.TextField
Field: Email.protected javafx.scene.control.TextField
Field: First name.protected javafx.scene.control.TextField
Field: Lst name.protected javafx.scene.control.TextArea
Area: License key.protected javafx.scene.layout.BorderPane
License pane.protected javafx.scene.control.TextArea
Area: Problems.Fields inherited from class ch.autumo.ui.fx.controller.BaseController
app, model, stage, view
-
Constructor Summary
ConstructorsConstructorDescriptionRegistrationController
(BaseApp app, javafx.stage.Stage stage, DefaultPaneModel model, DefaultInfoView view) Registration controller. -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.control.TextField
Get city field.javafx.scene.control.TextField
Get company field.javafx.scene.control.ComboBox
<CountryData.Country> Get country entry.javafx.scene.control.TextField
Get first name field.javafx.scene.control.TextField
Get first name field.javafx.scene.control.TextField
Get last name field.javafx.scene.control.TextArea
License key.javafx.scene.control.TextArea
Get problems.void
init
(URL location, ResourceBundle resources, double toolBarShift) Delegated initialization.void
Remove problems from view.Methods inherited from class ch.autumo.ui.fx.controller.DefaultInfoController
close, customize, getBody, getFooter, getFooterButton, getFooterButtons, getFooterCenter, getFooterLabel
Methods inherited from class ch.autumo.ui.fx.controller.BaseController
disableMacOSMenuDetach, getApp, getMenuBar, getMenuItemClearAllRecent, getMenuRecent, getModel, getStage, getToolBar, getView, initialize, initializeRecentMenu, innerOpen, keyPressed, rebuildRecentList
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javafx.fxml.Initializable
initialize
-
Field Details
-
regFirstName
protected javafx.scene.control.TextField regFirstNameField: First name. -
regLastName
protected javafx.scene.control.TextField regLastNameField: Lst name. -
regCompany
protected javafx.scene.control.TextField regCompanyField: Company. -
regCity
protected javafx.scene.control.TextField regCityField: City. -
regCountry
Field: Country. -
regEmail
protected javafx.scene.control.TextField regEmailField: Email. -
regLicenseKey
protected javafx.scene.control.TextArea regLicenseKeyArea: License key. -
regProblems
protected javafx.scene.control.TextArea regProblemsArea: Problems. -
regPaneLicense
protected javafx.scene.layout.BorderPane regPaneLicenseLicense pane.
-
-
Constructor Details
-
RegistrationController
public RegistrationController(BaseApp app, javafx.stage.Stage stage, DefaultPaneModel model, DefaultInfoView view) Registration controller.- Parameters:
app
- applicationstage
- stagemodel
- modelview
- view
-
-
Method Details
-
init
Description copied from class:BaseController
Delegated initialization. SeeInitializable.initialize(URL, ResourceBundle)
.- Overrides:
init
in classDefaultInfoController
- Parameters:
location
- The location used to resolve relative paths for the root object, ornull
if the location is not known.resources
- The resources used to localize the root object, ornull
if the root object was not localized.toolBarShift
- if the tool bar has been shifted, this value is bigger than zero and can be used to adjust the UI layout.
-
getRegFirstName
public javafx.scene.control.TextField getRegFirstName()Get first name field.- Returns:
- first name field
-
getRegLastName
public javafx.scene.control.TextField getRegLastName()Get last name field.- Returns:
- last name field
-
getRegCompany
public javafx.scene.control.TextField getRegCompany()Get company field.- Returns:
- company field
-
getRegCity
public javafx.scene.control.TextField getRegCity()Get city field.- Returns:
- city field
-
getRegCountry
Get country entry.- Returns:
- country entry
-
getRegEmail
public javafx.scene.control.TextField getRegEmail()Get first name field.- Returns:
- first name field
-
getRegLicenseKey
public javafx.scene.control.TextArea getRegLicenseKey()License key.- Returns:
- license key
-
getRegProblems
public javafx.scene.control.TextArea getRegProblems()Get problems.- Returns:
- problems
-
removeRegProblems
public void removeRegProblems()Remove problems from view.
-