Top Description Fields Constructors Methods
com.dlsc.preferencesfx.view

public Class PreferencesFxView

extends BorderPane
implements View
Class Inheritance
All Implemented Interfaces
com.dlsc.preferencesfx.view.View
Imports
com.dlsc.preferencesfx.model.Category, .PreferencesFxModel, javafx.geometry.Side, javafx.scene.layout.BorderPane, .Priority, .StackPane, .VBox, org.controlsfx.control.MasterDetailPane, org.slf4j.Logger, .LoggerFactory

Represents the master view, which is used to show all view parts in PreferencesFxDialog.
Authors
François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
pack-priv CategoryController
pack-priv VBox
private static final Logger
private PreferencesFxModel
pack-priv MasterDetailPane

Constructor Summary

AccessConstructor and Description
public
PreferencesFxView(PreferencesFxModel
the model of PreferencesFX
model
,
NavigationView
left part of the view
navigationView
,
BreadCrumbView
breadcrumb bar on the top of the categoryController
breadCrumbView
,
CategoryController
shows the CategoryView of the currently selected Category
categoryController
)

Displays all of the view parts, representing the master view.

Method Summary

Modifier and TypeMethod and Description
public void
bindFieldsToModel()

Overrides default com.dlsc.preferencesfx.view.View.bindFieldsToModel.

Binds properties from the model to the view.

public void
initializeParts()

Implements com.dlsc.preferencesfx.view.View.initializeParts.

Initializes all parts of the view.

public void
initializeSelf()

Overrides default com.dlsc.preferencesfx.view.View.initializeSelf.

Initializes the view.

public void
layoutParts()

Implements com.dlsc.preferencesfx.view.View.layoutParts.

Defines the layout of all parts in the view.

Inherited from javafx.scene.layout.BorderPane:
bottomPropertycenterPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthgetAlignmentgetBottomgetCentergetContentBiasgetLeftgetMargingetRightgetToplayoutChildrenleftPropertyrightPropertysetAlignmentsetBottomsetCentersetLeftsetMarginsetRightsetToptopProperty

Field Detail

categoryControllerback to summary
pack-priv CategoryController categoryController
contentBoxback to summary
pack-priv VBox contentBox
LOGGERback to summary
private static final Logger LOGGER
modelback to summary
private PreferencesFxModel model
preferencesPaneback to summary
pack-priv MasterDetailPane preferencesPane

Constructor Detail

PreferencesFxViewback to summary
public PreferencesFxView(PreferencesFxModel model, NavigationView navigationView, BreadCrumbView breadCrumbView, CategoryController categoryController)

Displays all of the view parts, representing the master view.

Parameters
model:PreferencesFxModel

the model of PreferencesFX

navigationView:NavigationView

left part of the view

breadCrumbView:BreadCrumbView

breadcrumb bar on the top of the categoryController

categoryController:CategoryController

shows the CategoryView of the currently selected Category

Method Detail

bindFieldsToModelback to summary
public void bindFieldsToModel()

Overrides default com.dlsc.preferencesfx.view.View.bindFieldsToModel.

Doc from com.dlsc.preferencesfx.view.View.bindFieldsToModel.

Binds properties from the model to the view.

Annotations
@Override
initializePartsback to summary
public void initializeParts()

Implements com.dlsc.preferencesfx.view.View.initializeParts.

Doc from com.dlsc.preferencesfx.view.View.initializeParts.

Initializes all parts of the view.

Annotations
@Override
initializeSelfback to summary
public void initializeSelf()

Overrides default com.dlsc.preferencesfx.view.View.initializeSelf.

Doc from com.dlsc.preferencesfx.view.View.initializeSelf.

Initializes the view.

Annotations
@Override
layoutPartsback to summary
public void layoutParts()

Implements com.dlsc.preferencesfx.view.View.layoutParts.

Doc from com.dlsc.preferencesfx.view.View.layoutParts.

Defines the layout of all parts in the view.

Annotations
@Override