Module MaterialFX

Class MFXStepperToggleSkin

java.lang.Object
javafx.scene.control.SkinBase<MFXStepperToggle>
io.github.palexdev.materialfx.skins.MFXStepperToggleSkin
All Implemented Interfaces:
Skin<MFXStepperToggle>

public class MFXStepperToggleSkin extends SkinBase<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 Details

    • MFXStepperToggleSkin

      public MFXStepperToggleSkin(MFXStepperToggle stepperToggle)
  • 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:
      computeMinHeight in class SkinBase<MFXStepperToggle>
    • computeMinWidth

      protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computeMinWidth in class SkinBase<MFXStepperToggle>
    • layoutChildren

      protected void layoutChildren(double x, double y, double w, double h)
      Overrides:
      layoutChildren in class SkinBase<MFXStepperToggle>