Module MaterialFX
Class NotificationCenterBuilder
java.lang.Object
io.github.palexdev.materialfx.builders.layout.NodeBuilder<P>
io.github.palexdev.materialfx.builders.layout.ParentBuilder<R>
io.github.palexdev.materialfx.builders.layout.RegionBuilder<C>
io.github.palexdev.materialfx.builders.base.ControlBuilder<MFXNotificationCenter>
io.github.palexdev.materialfx.builders.control.NotificationCenterBuilder
- All Implemented Interfaces:
INodeBuilder<MFXNotificationCenter>
-
Field Summary
Fields inherited from class io.github.palexdev.materialfx.builders.layout.NodeBuilder
node -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNotifications(INotification... notifications) dismiss(INotification... notifications) enableBounceEffect(double strength, double maxOverscroll) enableSmoothScrolling(double speed) enableSmoothScrolling(double speed, double trackPadAdjustment) enableSmoothScrolling(double speed, double trackPadAdjustment, double scrollThreshold) markNotificationsAs(NotificationState state, INotification... notifications) static NotificationCenterBuilderstatic NotificationCenterBuildernotificationCenter(MFXNotificationCenter notificationCenter) scrollBy(double pixels) scrollTo(int index) scrollToPixel(double pixel) setAnimated(boolean animated) setCellFactory(Function<INotification, MFXNotificationCell> cellFactory) setCounterStyle(NotificationCounterStyle counterStyle) setDoNotDisturb(boolean doNotDisturb) setHeaderTextProperty(String headerTextProperty) setHSpeed(double unit, double block) setMarkAsReadOnDismiss(boolean markAsReadOnDismiss) setMarkAsReadOnShow(boolean markAsReadOnShow) setOnIconClicked(EventHandler<MouseEvent> onIconClicked) setPopupHeight(double popupHeight) setPopupSpacing(double popupSpacing) setPopupWidth(double popupWidth) setSelectionMode(boolean selectionMode) setVSpeed(double unit, double block) startNotificationsUpdater(long period, TimeUnit timeUnit) Methods inherited from class io.github.palexdev.materialfx.builders.base.ControlBuilder
control, setContextMenu, setSkin, setTooltipMethods inherited from class io.github.palexdev.materialfx.builders.layout.RegionBuilder
region, region, setBackground, setBorder, setCacheShape, setCenterShape, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixelMethods inherited from class io.github.palexdev.materialfx.builders.layout.ParentBuilder
addStylesheets, parent, requestLayout, setStylesheetsMethods inherited from class io.github.palexdev.materialfx.builders.layout.NodeBuilder
addEventFilter, addEventHandler, addStyleClasses, autosize, getNode, node, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resize, resizeRelocate, setCache, setCacheHint, setClip, setCursor, setDisable, setEffect, setFocusTraversable, setId, setManaged, setMouseTransparent, setNodeOrientation, setOpacity, setRotate, setScaleX, setScaleY, setScaleZ, setStyle, setStyleClasses, setTranslateX, setTranslateY, setTranslateZ, setViewOrder, setVisible
-
Constructor Details
-
NotificationCenterBuilder
public NotificationCenterBuilder() -
NotificationCenterBuilder
-
-
Method Details
-
notificationCenter
-
notificationCenter
public static NotificationCenterBuilder notificationCenter(MFXNotificationCenter notificationCenter) -
addNotifications
-
startNotificationsUpdater
-
stopNotificationsUpdater
-
markNotificationsAs
public NotificationCenterBuilder markNotificationsAs(NotificationState state, INotification... notifications) -
markVisibleNotificationsAs
-
markSelectedNotificationsAs
-
markAllNotificationsAs
-
dismiss
-
dismissVisible
-
dismissSelected
-
dismissAll
-
setSelectionMode
-
setCounterStyle
-
setHeaderTextProperty
-
setDoNotDisturb
-
setPopupSpacing
-
setPopupWidth
-
setPopupHeight
-
setAnimated
-
setMarkAsReadOnShow
-
setMarkAsReadOnDismiss
-
setOnIconClicked
-
scrollBy
-
scrollTo
-
scrollToFirst
-
scrollToLast
-
scrollToPixel
-
setHSpeed
-
setVSpeed
-
setCellFactory
public NotificationCenterBuilder setCellFactory(Function<INotification, MFXNotificationCell> cellFactory) -
enableSmoothScrolling
-
enableSmoothScrolling
-
enableSmoothScrolling
public NotificationCenterBuilder enableSmoothScrolling(double speed, double trackPadAdjustment, double scrollThreshold) -
enableBounceEffect
-
enableBounceEffect
-