java.lang.Object
javafx.scene.control.SkinBase<MFXMagnifierPane>
io.github.palexdev.materialfx.skins.MFXMagnifierPaneSkin
- All Implemented Interfaces:
Skin<MFXMagnifierPane>
This is the default skin implementation for
MFXMagnifierPane.
There are three main components:
1) The lens container: the magnifier's lens is wrapped in a top container to allow clipping the lens (to make it a circle) while still keeping the lens border
2) The lens: core component of the magnifier, responsible for showing a portion of the content zoomed by the current
zoom level, MFXMagnifierPane.zoomProperty(), more about this component here MFXMagnifierPaneSkin.MFXMagnifierLens
3) The color picker: an extra functionality of the magnifier. To be precise the color picker is just an HBox
containing a square and a label. I decided to implement it because the actual "color picking" functionality is already
available as part of the magnifier, more here MFXMagnifierPaneSkin.ColorPicker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlayoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, 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
-
Constructor Details
-
MFXMagnifierPaneSkin
-
-
Method Details
-
layoutChildren
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) - Overrides:
layoutChildrenin classSkinBase<MFXMagnifierPane>
-