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

public Class TabSkin

extends SkinBase<Tab>
Class Inheritance
Imports
javafx.beans.property.ReadOnlyObjectProperty, .ReadOnlyStringProperty, javafx.collections.ObservableList, javafx.scene.Node, javafx.scene.control.Button, .Label, .SkinBase, javafx.scene.layout.HBox, .StackPane, org.slf4j.Logger, .LoggerFactory

Represents the skin of the corresponding Tab.
Authors
François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
private Button
private StackPane
private HBox
private final ReadOnlyObjectProperty<Node>
private static final Logger
private final ReadOnlyStringProperty
private Label

Constructor Summary

AccessConstructor and Description
public
TabSkin(Tab
the Tab for which this Skin is created
tab
)

Creates a new TabSkin object for a corresponding Tab.

Method Summary

Modifier and TypeMethod and Description
private void
private void
private void
private void
private void
private void
updateIcon()

Replaces the Icon when calling setModule().

Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

closeBtnback to summary
private Button closeBtn
closeIconShapeback to summary
private StackPane closeIconShape
controlBoxback to summary
private HBox controlBox
iconback to summary
private final ReadOnlyObjectProperty<Node> icon
LOGGERback to summary
private static final Logger LOGGER
nameback to summary
private final ReadOnlyStringProperty name
nameLblback to summary
private Label nameLbl

Constructor Detail

TabSkinback to summary
public TabSkin(Tab tab)

Creates a new TabSkin object for a corresponding Tab.

Parameters
tab:Tab

the Tab for which this Skin is created

Method Detail

initializePartsback to summary
private void initializeParts()
layoutPartsback to summary
private void layoutParts()
setupBindingsback to summary
private void setupBindings()
setupEventHandlersback to summary
private void setupEventHandlers()
setupValueChangedListenersback to summary
private void setupValueChangedListeners()
updateIconback to summary
private void updateIcon()

Replaces the Icon when calling setModule().