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.TextFieldField: City.protected javafx.scene.control.TextFieldField: Company.protected javafx.scene.control.ComboBox<CountryData.Country> Field: Country.protected javafx.scene.control.TextFieldField: Email.protected javafx.scene.control.TextFieldField: First name.protected javafx.scene.control.TextFieldField: Lst name.protected javafx.scene.control.TextAreaArea: License key.protected javafx.scene.layout.BorderPaneLicense pane.protected javafx.scene.control.TextAreaArea: 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.TextFieldGet city field.javafx.scene.control.TextFieldGet company field.javafx.scene.control.ComboBox<CountryData.Country> Get country entry.javafx.scene.control.TextFieldGet first name field.javafx.scene.control.TextFieldGet first name field.javafx.scene.control.TextFieldGet last name field.javafx.scene.control.TextAreaLicense key.javafx.scene.control.TextAreaGet problems.voidinit(URL location, ResourceBundle resources, double toolBarShift) Delegated initialization.voidRemove problems from view.Methods inherited from class ch.autumo.ui.fx.controller.DefaultInfoController
close, customize, getBody, getFooter, getFooterButton, getFooterButtons, getFooterCenter, getFooterLabelMethods inherited from class ch.autumo.ui.fx.controller.BaseController
disableMacOSMenuDetach, getApp, getMenuBar, getMenuItemClearAllRecent, getMenuRecent, getModel, getStage, getToolBar, getView, initialize, initializeRecentMenu, innerOpen, keyPressed, rebuildRecentListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BaseControllerDelegated initialization. SeeInitializable.initialize(URL, ResourceBundle).- Overrides:
initin classDefaultInfoController- Parameters:
location- The location used to resolve relative paths for the root object, ornullif the location is not known.resources- The resources used to localize the root object, ornullif 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.
-