Top Fields Constructors Methods
impl.com.calendarfx.view.print

public Class ZoomPaneSkin

extends SkinBase<ZoomPane>
Class Inheritance
Imports
com.calendarfx.view.print.ZoomPane, javafx.beans.binding.Bindings, javafx.beans.property.DoubleProperty, .SimpleDoubleProperty, javafx.scene.control.SkinBase, javafx.scene.input.MouseEvent, javafx.scene.layout.Region, javafx.scene.shape.Rectangle, java.util.Objects

Field Summary

Modifier and TypeField and Description
private static final double
private double
private double
private final DoubleProperty
private final DoubleProperty
private final DoubleProperty

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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
updateView(Region oldValue, Region newValue)

Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

INITIAL_SCALE_FACTORback to summary
private static final double INITIAL_SCALE_FACTOR
mouseXback to summary
private double mouseX
mouseYback to summary
private double mouseY
scaleback to summary
private final DoubleProperty scale
scaleXback to summary
private final DoubleProperty scaleX
scaleYback to summary
private final DoubleProperty scaleY

Constructor Detail

ZoomPaneSkinback to summary
public ZoomPaneSkin(ZoomPane pane)

Method Detail

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
updateViewback to summary
private void updateView(Region oldValue, Region newValue)