Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class YearViewSkin

extends SkinBase<YearView>
Class Inheritance
Imports
com.dlsc.gemsfx.YearView, javafx.beans.InvalidationListener, javafx.beans.binding.Bindings, javafx.event.Event, javafx.geometry.Pos, javafx.scene.Node, javafx.scene.control.Label, .SkinBase, javafx.scene.input.MouseEvent, javafx.scene.layout.ColumnConstraints, .GridPane, .HBox, .Priority, .Region, .RowConstraints, .StackPane, .VBox, javafx.scene.shape.Rectangle, java.time.LocalDate, .Year, java.util.Optional

Field Summary

Modifier and TypeField and Description
private final GridPane
private final HBox
private int
private final Label

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private Node
createYearNode(int year)

protected void
layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)

Overrides javafx.scene.control.SkinBase.layoutChildren.

Called during the layout pass of the scenegraph.

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

Field Detail

gridPaneback to summary
private final GridPane gridPane
offsetback to summary
private int offset
yearRangeLabelback to summary
private final Label yearRangeLabel

Constructor Detail

YearViewSkinback to summary
public YearViewSkin(YearView yearView)

Method Detail

buildGridback to summary
private void buildGrid()
createYearNodeback to summary
private Node createYearNode(int year)
layoutChildrenback to summary
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)

Overrides javafx.scene.control.SkinBase.layoutChildren.

Doc from javafx.scene.control.SkinBase.layoutChildren.

Called during the layout pass of the scenegraph.

Annotations
@Override
updateGridConstraintsback to summary
private void updateGridConstraints()