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

public final Class ToolbarView

extends VBox
implements View
Class Inheritance
All Implemented Interfaces
com.dlsc.workbenchfx.view.View
Imports
com.dlsc.workbenchfx.model.WorkbenchModule, com.dlsc.workbenchfx.view.controls.ToolbarControl, com.dlsc.workbenchfx.view.controls.selectionstrip.SelectionStrip, javafx.application.Platform, javafx.scene.control.Button, javafx.scene.layout.HBox, .Priority, .StackPane, .VBox

Represents the toolbar which is being shown at the top of the window.
Authors
François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
pack-priv StackPane
pack-priv Button
pack-priv HBox
pack-priv SelectionStrip<WorkbenchModule>
pack-priv ToolbarControl
pack-priv HBox

Constructor Summary

AccessConstructor and Description
public
ToolbarView()

Creates a new ToolbarView for the Workbench.

Method Summary

Modifier and TypeMethod and Description
pack-priv final void
addMenuBtnBottom()

Adds the menuBtn in first position of the bottomBox.

pack-priv final void
addMenuBtnTop()

Adds the menuBtn in first position of the topBox.

public final void
initializeParts()

Implements com.dlsc.workbenchfx.view.View.initializeParts.

Initializes all parts of the view.

public final void
initializeSelf()

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

Initializes the view.

public final void
layoutParts()

Implements com.dlsc.workbenchfx.view.View.layoutParts.

Defines the layout of all parts in the view.

pack-priv final void
removeMenuBtn()

Removes the menuBtn wherever it is located.

Inherited from javafx.scene.layout.VBox:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthfillWidthPropertygetAlignmentgetClassCssMetaDatagetContentBiasgetCssMetaDatagetMargingetSpacinggetVgrowisFillWidthlayoutChildrenrequestLayoutsetAlignmentsetFillWidthsetMarginsetSpacingsetVgrowspacingProperty

Field Detail

addIconShapeback to summary
pack-priv StackPane addIconShape
addModuleBtnback to summary
pack-priv Button addModuleBtn
bottomBoxback to summary
pack-priv HBox bottomBox
tabBarback to summary
pack-priv SelectionStrip<WorkbenchModule> tabBar
toolbarControlback to summary
pack-priv ToolbarControl toolbarControl
topBoxback to summary
pack-priv HBox topBox

Constructor Detail

ToolbarViewback to summary
public ToolbarView()

Creates a new ToolbarView for the Workbench.

Method Detail

addMenuBtnBottomback to summary
pack-priv final void addMenuBtnBottom()

Adds the menuBtn in first position of the bottomBox.

addMenuBtnTopback to summary
pack-priv final void addMenuBtnTop()

Adds the menuBtn in first position of the topBox.

initializePartsback to summary
public final void initializeParts()

Implements com.dlsc.workbenchfx.view.View.initializeParts.

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

Initializes all parts of the view.

Annotations
@Override
initializeSelfback to summary
public final void initializeSelf()

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

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

Initializes the view.

Annotations
@Override
layoutPartsback to summary
public final void layoutParts()

Implements com.dlsc.workbenchfx.view.View.layoutParts.

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

Defines the layout of all parts in the view.

Annotations
@Override
removeMenuBtnback to summary
pack-priv final void removeMenuBtn()

Removes the menuBtn wherever it is located.