Top Fields Constructors Methods
impl.com.calendarfx.view

public Class WeekViewSkin

extends SkinBase<WeekView>
Class Inheritance
Imports
com.calendarfx.view.WeekDayView, .WeekView, .WeekView.WeekDayParameter, javafx.beans.InvalidationListener, javafx.scene.control.SkinBase, javafx.scene.layout.HBox, .Priority, .Region, javafx.scene.shape.Rectangle, javafx.util.Callback, java.time.LocalDate, .LocalTime, java.util.List

Field Summary

Modifier and TypeField and Description
private final HBox

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private LocalDate
getDate(LocalDate startDate, int dayCount)

protected void
layoutChildren(double
the x position
contentX
,
double
the y position
contentY
,
double
the width
contentWidth
,
double
the height
contentHeight
)

Overrides javafx.scene.control.SkinBase.layoutChildren.

Called during the layout pass of the scenegraph.

private void
updateDate(WeekDayView view, int dayCount)

private void
updateDate(WeekDayView view, LocalDate startDate, int dayCount)

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

Field Detail

containerback to summary
private final HBox container

Constructor Detail

WeekViewSkinback to summary
public WeekViewSkin(WeekView view)

Method Detail

buildDaysback to summary
private void buildDays()
getDateback to summary
private LocalDate getDate(LocalDate startDate, int dayCount)
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.

Parameters
contentX:double

the x position

contentY:double

the y position

contentWidth:double

the width

contentHeight:double

the height

Annotations
@Override
updateDateback to summary
private void updateDate(WeekDayView view, int dayCount)
updateDateback to summary
private void updateDate(WeekDayView view, LocalDate startDate, int dayCount)
updateUsedTimesback to summary
private void updateUsedTimes()