InfoCenterPane,
so that the visibility of the view is actively managed.
InfoCenterPane
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private BooleanProperty | |
| private static final boolean | |
| private static final Duration | |
| private static final double | |
| private static final Node | |
| private static final Duration | |
| private static final boolean | |
| private ObjectProperty | |
| private final ObservableList | |
| private final ObservableList | |
| private DoubleProperty | |
| private final ObjectProperty | |
| private final ObservableList | |
| private final ObservableList | |
| private ObjectProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private ObjectProperty | |
| private static final String | |
| private BooleanProperty | |
| private final ObservableList | |
| private final ObservableList | |
| private final ObservableList | |
| private final ObservableList | |
| private final ObservableList | |
| private final ObservableList | |
| private final ObservableList | |
| private final InvalidationListener | |
| private final InvalidationListener | |
| private final WeakInvalidationListener | |
| private final WeakInvalidationListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final BooleanProperty | Returns: true if the group of a newly added notification should be automatically expandedGroups can be opened automatically when a notification gets added to them. |
| public void | |
| private static StackPane | |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObjectProperty | Returns: the expand / collapse animation durationThe duration used for the expand / collapse animation when the view opens or closes a group. |
| public static List | getClassCssMetaData()
Hides javafx. Gets the |
| public List | getControlCssMetaData()
Overrides javafx. Gets the unmodifiable list of the control's CSS-styleable properties. |
| public final Duration | |
| public final ObservableList | Returns: the list of notification groupsA list of groups of notifications that will be visualized by the view. |
| public final double | |
| public final Consumer | |
| public final Node | |
| public final Duration | |
| public final NotificationGroup | |
| public final Duration | |
| public final ObservableList | Returns: a flattened list of all notificationsA read-only list of all notifications of all groups currently added to the view. |
| public final ObservableList | Returns: the list of pinned groupsA read-only list of the currently pinned groups. |
| public final ObservableList | Returns: a flattened list of all notifications inside pinned groupsA read-only list of all notifications of all pinned groups currently added to the view. |
| public final ObservableList | Returns: the list of pinned groupsA read-only list of the currently unpinned groups. |
| public final ObservableList | Returns: a flattened list of all notifications inside groups that are currently not pinnedA read-only list of all notifications of all unpinned groups currently added to the view. |
| public String | getUserAgentStylesheet()
Overrides javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. |
| public final boolean | |
| public final boolean | |
| public final DoubleProperty | Returns: the DoubleProperty that controls the spacing between notifications in the same group.Represents the spacing between individual notification views within the same notification group. |
| public final ObjectProperty | Returns: the callback that gets invoked when requesting to see all notifications of a groupA callback that gets invoked when the user presses the "show all" button of a group that has more than the maximum number of notifications linked to it. |
| public final ObjectProperty | Returns: the placeholder nodeA placeholder node that is shown when the info is empty. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final ObjectProperty | Returns: the duration for the fade-in / fade-out animation used for toggling viewsThe duration used for the animation when switching between the standard view and the "show all" view. |
| public final ObjectProperty | Returns: the group for which all notifications are shown in a list viewThe group that is currently being shown in the "show all" view of the control. |
| public final ObjectProperty | Returns: the slide-in duration of a new notificationThe duration used for animating the slide-in / slide-out of a notification. |
| public final BooleanProperty | Returns: true if the control is not transparentDetermines whether the control will be transparent or not. |
| private void | |
| private void | |
| private void |
| autoOpenGroup | back to summary |
|---|---|
| private BooleanProperty autoOpenGroup | |
| DEFAULT_AUTO_OPEN_GROUP | back to summary |
|---|---|
| private static final boolean DEFAULT_AUTO_OPEN_GROUP | |
| DEFAULT_EXPAND_DURATION | back to summary |
|---|---|
| private static final Duration DEFAULT_EXPAND_DURATION | |
| DEFAULT_NOTIFICATION_SPACING | back to summary |
|---|---|
| private static final double DEFAULT_NOTIFICATION_SPACING | |
| DEFAULT_PLACEHOLDER | back to summary |
|---|---|
| private static final Node DEFAULT_PLACEHOLDER | |
| DEFAULT_SLIDE_IN_DURATION | back to summary |
|---|---|
| private static final Duration DEFAULT_SLIDE_IN_DURATION | |
| DEFAULT_TRANSPARENT | back to summary |
|---|---|
| private static final boolean DEFAULT_TRANSPARENT | |
| expandDuration | back to summary |
|---|---|
| private ObjectProperty<Duration> expandDuration | |
| groups | back to summary |
|---|---|
| private final ObservableList<NotificationGroup<?, ?>> groups | |
| notifications | back to summary |
|---|---|
| private final ObservableList<Notification<?>> notifications | |
| notificationSpacing | back to summary |
|---|---|
| private DoubleProperty notificationSpacing | |
| onShowAllGroupNotifications | back to summary |
|---|---|
| private final ObjectProperty<Consumer<NotificationGroup<?, ?>>> onShowAllGroupNotifications | |
| pinnedGroups | back to summary |
|---|---|
| private final ObservableList<NotificationGroup<?, ?>> pinnedGroups | |
| pinnedNotifications | back to summary |
|---|---|
| private final ObservableList<Notification<?>> pinnedNotifications | |
| placeholder | back to summary |
|---|---|
| private ObjectProperty<Node> placeholder | |
| showAllFadeDuration | back to summary |
|---|---|
| private final ObjectProperty<Duration> showAllFadeDuration | |
| showAllGroup | back to summary |
|---|---|
| private final ObjectProperty<NotificationGroup<T, S extends Notification<T>>> showAllGroup | |
| slideInDuration | back to summary |
|---|---|
| private ObjectProperty<Duration> slideInDuration | |
| TRANSPARENT | back to summary |
|---|---|
| private static final String TRANSPARENT | |
| transparent | back to summary |
|---|---|
| private BooleanProperty transparent | |
| unmodifiableNotifications | back to summary |
|---|---|
| private final ObservableList<Notification<?>> unmodifiableNotifications | |
| unmodifiablePinnedGroups | back to summary |
|---|---|
| private final ObservableList<NotificationGroup<?, ?>> unmodifiablePinnedGroups | |
| unmodifiablePinnedNotifications | back to summary |
|---|---|
| private final ObservableList<Notification<?>> unmodifiablePinnedNotifications | |
| unmodifiableUnpinnedGroups | back to summary |
|---|---|
| private final ObservableList<NotificationGroup<?, ?>> unmodifiableUnpinnedGroups | |
| unmodifiableUnpinnedNotifications | back to summary |
|---|---|
| private final ObservableList<Notification<?>> unmodifiableUnpinnedNotifications | |
| unpinnedGroups | back to summary |
|---|---|
| private final ObservableList<NotificationGroup<?, ?>> unpinnedGroups | |
| unpinnedNotifications | back to summary |
|---|---|
| private final ObservableList<Notification<?>> unpinnedNotifications | |
| updateNotificationsListener | back to summary |
|---|---|
| private final InvalidationListener updateNotificationsListener | |
| updatePinnedGroupsListener | back to summary |
|---|---|
| private final InvalidationListener updatePinnedGroupsListener | |
| weakUpdateNotificationsListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakUpdateNotificationsListener | |
| weakUpdatePinnedGroupsListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakUpdatePinnedGroupsListener | |
| InfoCenterView | back to summary |
|---|---|
| public InfoCenterView() Constructs a new view. | |
| autoOpenGroupProperty | back to summary |
|---|---|
| public final BooleanProperty autoOpenGroupProperty() Groups can be opened automatically when a notification gets added to them. The default is false.
| |
| clearAll | back to summary |
|---|---|
| public void clearAll() | |
| createDefaultPlaceholder | back to summary |
|---|---|
| private static StackPane createDefaultPlaceholder() | |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| expandDurationProperty | back to summary |
|---|---|
| public final ObjectProperty The duration used for the expand / collapse animation when the view opens or closes a group.
| |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Doc from javafx. Gets the | |
| getControlCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Doc from javafx. Gets the unmodifiable list of the control's CSS-styleable properties.
| |
| getExpandDuration | back to summary |
|---|---|
| public final Duration getExpandDuration() | |
| getGroups | back to summary |
|---|---|
| public final ObservableList A list of groups of notifications that will be visualized by the view. Every notification has to be a member of a group.
| |
| getNotificationSpacing | back to summary |
|---|---|
| public final double getNotificationSpacing() | |
| getOnShowAllGroupNotifications | back to summary |
|---|---|
| public final Consumer | |
| getPlaceholder | back to summary |
|---|---|
| public final Node getPlaceholder() | |
| getShowAllFadeDuration | back to summary |
|---|---|
| public final Duration getShowAllFadeDuration() | |
| getShowAllGroup | back to summary |
|---|---|
| public final NotificationGroup | |
| getSlideInDuration | back to summary |
|---|---|
| public final Duration getSlideInDuration() | |
| getUnmodifiableNotifications | back to summary |
|---|---|
| public final ObservableList A read-only list of all notifications of all groups currently added to the view.
| |
| getUnmodifiablePinnedGroups | back to summary |
|---|---|
| public final ObservableList A read-only list of the currently pinned groups.
| |
| getUnmodifiablePinnedNotifications | back to summary |
|---|---|
| public final ObservableList A read-only list of all notifications of all pinned groups currently added to the view.
| |
| getUnmodifiableUnpinnedGroups | back to summary |
|---|---|
| public final ObservableList A read-only list of the currently unpinned groups.
| |
| getUnmodifiableUnpinnedNotifications | back to summary |
|---|---|
| public final ObservableList A read-only list of all notifications of all unpinned groups currently added to the view.
| |
| getUserAgentStylesheet | back to summary |
|---|---|
| public String getUserAgentStylesheet() Overrides javafx. Doc from javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. These styles are used in addition to whatever user-agent stylesheets are in use. This provides a mechanism for third parties to introduce styles for custom controls. The URL is a hierarchical URI of the form [scheme:][//authority][path]. If the URL does not have a [scheme:] component, the URL is considered to be the [path] component only. Any leading '/' character of the [path] is ignored and the [path] is treated as a path relative to the root of the application's classpath. Subclasses overriding this method should not assume any particular implementation approach as to the number and frequency with which it is called. For this reason, attempting any kind of dynamic implementation (i.e. returning different user agent stylesheet values) based on some state change is highly discouraged, as there is no guarantee when, or even if, this method will be called. Some JavaFX CSS implementations may choose to cache this response for an indefinite period of time, and therefore there should be no expectation around when this method is called.
For additional information about using CSS with the scene graph,
see the CSS Reference Guide.
| |
| isAutoOpenGroup | back to summary |
|---|---|
| public final boolean isAutoOpenGroup() | |
| isTransparent | back to summary |
|---|---|
| public final boolean isTransparent() | |
| notificationSpacingProperty | back to summary |
|---|---|
| public final DoubleProperty notificationSpacingProperty() Represents the spacing between individual notification views within the same notification group. This property allows adjustment of the vertical gap depending on the layout of the notification container. The default value is 10.0.
| |
| onShowAllGroupNotificationsProperty | back to summary |
|---|---|
| public final ObjectProperty A callback that gets invoked when the user presses the "show all" button of a group that has more than the maximum number of notifications linked to it. The default callback will switch to a list view control which will then be able to show all notifications of that group. Applications can choose to display the notifications in a different place, e.g. in a dialog.
| |
| placeholderProperty | back to summary |
|---|---|
| public final ObjectProperty A placeholder node that is shown when the info is empty.
| |
| setAutoOpenGroup | back to summary |
|---|---|
| public final void setAutoOpenGroup(boolean autoOpenGroup) | |
| setExpandDuration | back to summary |
|---|---|
| public final void setExpandDuration(Duration expandDuration) | |
| setNotificationSpacing | back to summary |
|---|---|
| public final void setNotificationSpacing(double notificationSpacing) | |
| setOnShowAllGroupNotifications | back to summary |
|---|---|
| public final void setOnShowAllGroupNotifications(Consumer<NotificationGroup<?, ?>> onShowAllGroupNotifications) | |
| setPlaceholder | back to summary |
|---|---|
| public final void setPlaceholder(Node placeholder) | |
| setShowAllFadeDuration | back to summary |
|---|---|
| public final void setShowAllFadeDuration(Duration showAllFadeDuration) | |
| setShowAllGroup | back to summary |
|---|---|
| public final void setShowAllGroup(NotificationGroup<T, S extends Notification<T>> showAllGroup) | |
| setSlideInDuration | back to summary |
|---|---|
| public final void setSlideInDuration(Duration slideInDuration) | |
| setTransparent | back to summary |
|---|---|
| public final void setTransparent(boolean transparent) | |
| showAllFadeDurationProperty | back to summary |
|---|---|
| public final ObjectProperty The duration used for the animation when switching between the standard view and the "show all" view.
| |
| showAllGroupProperty | back to summary |
|---|---|
| public final ObjectProperty The group that is currently being shown in the "show all" view of the control.
| |
| slideInDurationProperty | back to summary |
|---|---|
| public final ObjectProperty The duration used for animating the slide-in / slide-out of a notification.
| |
| transparentProperty | back to summary |
|---|---|
| public final BooleanProperty transparentProperty() Determines whether the control will be transparent or not. By default, a semi-transparent black background is showing.
| |
| updateNotificationsList | back to summary |
|---|---|
| private void updateNotificationsList() | |
| updatePinnedAndUnpinnedGroupsList | back to summary |
|---|---|
| private void updatePinnedAndUnpinnedGroupsList() | |
| updateStyle | back to summary |
|---|---|
| private void updateStyle() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| NOTIFICATION_SPACING | back to summary |
|---|---|
| private static final CssMetaData<InfoCenterView, Number> NOTIFICATION_SPACING | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |