Class CalendarViewSkin

java.lang.Object
javafx.scene.control.SkinBase<CalendarView>
com.dlsc.gemsfx.skins.CalendarViewSkin
All Implemented Interfaces:
javafx.scene.control.Skin<CalendarView>

public class CalendarViewSkin extends javafx.scene.control.SkinBase<CalendarView>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javafx.scene.layout.ColumnConstraints
    createColumnConstraints(int numberOfColumns, int column)
    Creates the constraints for the given column.
    protected javafx.scene.layout.RowConstraints
    Creates the constraints for the given row.

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, 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 java.lang.Object

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

    • CalendarViewSkin

      public CalendarViewSkin(CalendarView view)
  • Method Details

    • createColumnConstraints

      protected javafx.scene.layout.ColumnConstraints createColumnConstraints(int numberOfColumns, int column)
      Creates the constraints for the given column. The total number of columns can vary, depending on whether the week number column is shown or not.
      Parameters:
      numberOfColumns - the number of total columns (either 7 or 8)
      column - the index of the column for which to create the constraints, -1 indicates the column used for showing the "week of year" numbers
      Returns:
      the column constraints for the given column
    • createRowConstraints

      protected javafx.scene.layout.RowConstraints createRowConstraints(int row)
      Creates the constraints for the given row.
      Parameters:
      row - the index of the row for which to create constraints, -1 indicates the row used for showing the "weekday name"
      Returns:
      the row constraints for the given row