java.lang.Object
javafx.scene.control.SkinBase<MFXStepperToggle>
io.github.palexdev.materialfx.skins.MFXStepperToggleSkin
- All Implemented Interfaces:
Skin<MFXStepperToggle>
This is the implementation of the
Skin associated with every MFXStepperToggle.
It consists of a Circle with the css id set to "circle", a MFXTextField
and a little optional error icon shown in the upper right corner of the toggle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected voidlayoutChildren(double x, double y, double w, double h) protected voidShows an error dialog that contains the all the validator's unmet conditions, including the dependency ones too.Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, 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
-
MFXStepperToggleSkin
-
-
Method Details
-
showErrorsDialog
protected void showErrorsDialog()Shows an error dialog that contains the all the validator's unmet conditions, including the dependency ones too. -
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinHeightin classSkinBase<MFXStepperToggle>
-
computeMinWidth
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinWidthin classSkinBase<MFXStepperToggle>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h) - Overrides:
layoutChildrenin classSkinBase<MFXStepperToggle>
-