Class NotificationSkin

java.lang.Object
javafx.scene.control.SkinBase<Notification>
atlantafx.base.controls.NotificationSkin
All Implemented Interfaces:
javafx.scene.control.Skin<Notification>

public class NotificationSkin extends javafx.scene.control.SkinBase<Notification>
The default skin for the Notification control.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final javafx.scene.layout.HBox
     
    protected final javafx.scene.control.ContextMenu
     
    protected final javafx.scene.control.ButtonBar
     
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.scene.layout.VBox
     
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.beans.value.ChangeListener<javafx.scene.Node>
     
    protected final javafx.scene.layout.HBox
     
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.scene.layout.StackPane
     
    protected final javafx.scene.text.TextFlow
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
     
    protected double
    computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
     
    void
     
    protected void
     
    protected void
     

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javafx.scene.control.Skin

    install
  • Field Details

    • container

      protected final javafx.scene.layout.VBox container
    • graphicSlot

      protected final javafx.scene.layout.StackPane graphicSlot
    • graphicSlotListener

      protected final javafx.beans.value.ChangeListener<javafx.scene.Node> graphicSlotListener
    • messageText

      protected final javafx.scene.text.TextFlow messageText
    • closeButton

      protected final javafx.scene.layout.StackPane closeButton
    • closeButtonIcon

      protected final javafx.scene.layout.StackPane closeButtonIcon
    • actionsMenu

      protected final javafx.scene.control.ContextMenu actionsMenu
    • actionsBox

      protected final javafx.scene.layout.HBox actionsBox
    • buttonBar

      protected final javafx.scene.control.ButtonBar buttonBar
  • Constructor Details

    • NotificationSkin

      protected NotificationSkin(Notification control)
  • Method Details

    • setMessageText

      protected void setMessageText()
    • handleClose

      protected void handleClose()
    • calcHeight

      protected double calcHeight()
    • computeMinHeight

      protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computeMinHeight in class javafx.scene.control.SkinBase<Notification>
    • dispose

      public void dispose()
      Specified by:
      dispose in interface javafx.scene.control.Skin<Notification>
      Overrides:
      dispose in class javafx.scene.control.SkinBase<Notification>