Top Description Fields Constructors Methods
com.dlsc.workbenchfx

public final Class WorkbenchSkin

extends SkinBase<Workbench>
Class Inheritance
Imports
com.dlsc.workbenchfx.model.WorkbenchModule, com.dlsc.workbenchfx.view.AddModulePresenter, .AddModuleView, .ContentPresenter, .ContentView, .ToolbarPresenter, .ToolbarView, .WorkbenchPresenter, .WorkbenchView, com.dlsc.workbenchfx.view.controls.selectionstrip.SelectionStrip, javafx.application.Platform, javafx.scene.control.SkinBase, org.slf4j.Logger, .LoggerFactory

Represents the Skin which is made for the Workbench. It creates all the Views and Presenters which are needed and sets the stylesheets.
Authors
François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
private AddModulePresenter
private AddModuleView
private ContentPresenter
private ContentView
private static final Logger
private SelectionStrip<WorkbenchModule>
private ToolbarPresenter
private ToolbarView
private WorkbenchPresenter
private WorkbenchView

Constructor Summary

AccessConstructor and Description
public
WorkbenchSkin(Workbench
for which this skin is created
workbench
)

Creates a skin for a given Workbench.

Method Summary

Modifier and TypeMethod and Description
private void
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

addModulePresenterback to summary
private AddModulePresenter addModulePresenter
addModuleViewback to summary
private AddModuleView addModuleView
contentPresenterback to summary
private ContentPresenter contentPresenter
contentViewback to summary
private ContentView contentView
LOGGERback to summary
private static final Logger LOGGER
tabBarback to summary
private SelectionStrip<WorkbenchModule> tabBar
toolbarPresenterback to summary
private ToolbarPresenter toolbarPresenter
toolbarViewback to summary
private ToolbarView toolbarView
workbenchPresenterback to summary
private WorkbenchPresenter workbenchPresenter
workbenchViewback to summary
private WorkbenchView workbenchView

Constructor Detail

WorkbenchSkinback to summary
public WorkbenchSkin(Workbench workbench)

Creates a skin for a given Workbench. Contains all views and presenters and sets also the default stylesheet.

Parameters
workbench:Workbench

for which this skin is created

Method Detail

initViewsback to summary
private void initViews(Workbench model)