Module MaterialFX

Class MFXNotificationCenterSkin

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

public class MFXNotificationCenterSkin extends SkinBase<MFXNotificationCenter>
This is the skin associated with every MFXNotificationCenter.

It is composed by an icon, which is a bell, that opens a MFXPopup to show the notification center.
  • Constructor Details

  • Method Details

    • managePopup

      protected void managePopup(boolean showing)
      Shows/Hides the popup.
    • computeMaxWidth

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

      protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computeMaxHeight in class SkinBase<MFXNotificationCenter>
    • layoutChildren

      protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
      Overrides:
      layoutChildren in class SkinBase<MFXNotificationCenter>