Class ToggleSwitchSkin

    • Constructor Detail

      • ToggleSwitchSkin

        public ToggleSwitchSkin​(ToggleSwitch control)
        Constructor for all ToggleSwitchSkin instances.
        Parameters:
        control - The ToggleSwitch for which this Skin should attach to.
    • Method Detail

      • layoutChildren

        protected void layoutChildren​(double contentX,
                                      double contentY,
                                      double contentWidth,
                                      double contentHeight)
        Overrides:
        layoutChildren in class SkinBase<ToggleSwitch>
      • computeMinWidth

        protected double computeMinWidth​(double height,
                                         double topInset,
                                         double rightInset,
                                         double bottomInset,
                                         double leftInset)
        Overrides:
        computeMinWidth in class SkinBase<ToggleSwitch>
      • computeMinHeight

        protected double computeMinHeight​(double width,
                                          double topInset,
                                          double rightInset,
                                          double bottomInset,
                                          double leftInset)
        Overrides:
        computeMinHeight in class SkinBase<ToggleSwitch>
      • computePrefWidth

        protected double computePrefWidth​(double height,
                                          double topInset,
                                          double rightInset,
                                          double bottomInset,
                                          double leftInset)
        Overrides:
        computePrefWidth in class SkinBase<ToggleSwitch>
      • computePrefHeight

        protected double computePrefHeight​(double width,
                                           double topInset,
                                           double rightInset,
                                           double bottomInset,
                                           double leftInset)
        Overrides:
        computePrefHeight in class SkinBase<ToggleSwitch>
      • computeMaxWidth

        protected double computeMaxWidth​(double height,
                                         double topInset,
                                         double rightInset,
                                         double bottomInset,
                                         double leftInset)
        Overrides:
        computeMaxWidth in class SkinBase<ToggleSwitch>
      • computeMaxHeight

        protected double computeMaxHeight​(double width,
                                          double topInset,
                                          double rightInset,
                                          double bottomInset,
                                          double leftInset)
        Overrides:
        computeMaxHeight in class SkinBase<ToggleSwitch>
      • getClassCssMetaData

        public static List<CssMetaData<? extends Styleable,​?>> getClassCssMetaData()
        Returns:
        The CssMetaData associated with this class, which may include the CssMetaData of its super classes.