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

public Class NavigationDrawerSkin

extends SkinBase<NavigationDrawer>
Class Inheritance
Imports
javafx.beans.Observable, javafx.beans.binding.Bindings, javafx.geometry.Side, javafx.scene.control.Button, .Label, .Menu, .MenuButton, .MenuItem, .SkinBase, javafx.scene.input.MouseEvent, .TouchEvent, javafx.scene.layout.BorderPane, .Priority, .StackPane, .VBox, org.slf4j.Logger, .LoggerFactory

Represents the skin of the corresponding NavigationDrawer.
Authors
Dirk Lemmermann, François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
private Button
private StackPane
private Label
private VBox
private BorderPane
private MenuButton
private boolean
private static final Logger
private PrettyScrollPane

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
private void
private Button
private MenuButton
private void
initializeParts()

Initializes all parts of the skin.

private void
layoutParts()

Defines the layout of all parts in the skin.

private void
private void
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

backBtnback to summary
private Button backBtn
backIconShapeback to summary
private StackPane backIconShape
drawerBoxback to summary
private VBox drawerBox
hoveredBtnback to summary
private MenuButton hoveredBtn
isTouchUsedback to summary
private boolean isTouchUsed
LOGGERback to summary
private static final Logger LOGGER
scrollPaneback to summary
private PrettyScrollPane scrollPane

Constructor Detail

Method Detail

buildMenuback to summary
private void buildMenu()
buildMenuItemback to summary
private Button buildMenuItem(MenuItem item)
buildSubmenuback to summary
private MenuButton buildSubmenu(MenuItem item)
initializePartsback to summary
private void initializeParts()

Initializes all parts of the skin.

layoutPartsback to summary
private void layoutParts()

Defines the layout of all parts in the skin.

setupEventHandlersback to summary
private void setupEventHandlers()
setupValueChangedListenersback to summary
private void setupValueChangedListeners()