Class YearViewSkin

java.lang.Object
javafx.scene.control.SkinBase<YearView>
com.dlsc.gemsfx.skins.GemsSkinBase<YearView>
com.dlsc.gemsfx.skins.YearViewSkin
All Implemented Interfaces:
javafx.scene.control.Skin<YearView>

public class YearViewSkin extends GemsSkinBase<YearView>
Skin for YearView.

The skin builds a header showing the current year range and a configurable grid of year nodes with selected and current year styling.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new skin for the given year view.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
     

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • YearViewSkin

      public YearViewSkin(YearView yearView)
      Creates a new skin for the given year view.
      Parameters:
      yearView - the year view to skin
  • Method Details

    • layoutChildren

      protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
      Overrides:
      layoutChildren in class javafx.scene.control.SkinBase<YearView>