| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final VBox | |
| private final ObjectProperty | |
| private final InvalidationListener | |
| private final VBox | |
| private final VBox | |
| private final VBox | |
| private final ListView | |
| private final VBox | |
| private final WeakInvalidationListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected double | computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the maximum allowable height of the Skin, based on the provided width. |
| protected double | computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable height of the Skin, based on the provided width. |
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| allGroupsContainer | back to summary |
|---|---|
| private final VBox allGroupsContainer | |
| animatedNotification | back to summary |
|---|---|
| private final ObjectProperty<Notification<?>> animatedNotification | |
| listItemsListener | back to summary |
|---|---|
| private final InvalidationListener listItemsListener | |
| mainPane | back to summary |
|---|---|
| private final VBox mainPane | |
| pinnedGroupsContainer | back to summary |
|---|---|
| private final VBox pinnedGroupsContainer | |
| singleGroupContainer | back to summary |
|---|---|
| private final VBox singleGroupContainer | |
| singleGroupListView | back to summary |
|---|---|
| private final ListView<Notification<?>> singleGroupListView | |
| unpinnedGroupsContainer | back to summary |
|---|---|
| private final VBox unpinnedGroupsContainer | |
| weakListItemsListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakListItemsListener | |
| InfoCenterViewSkin | back to summary |
|---|---|
| public InfoCenterViewSkin(InfoCenterView view) | |
| addPlaceholderIfNotNull | back to summary |
|---|---|
| private void addPlaceholderIfNotNull(Node placeholder, BooleanBinding emptyBing) | |
| computeMaxHeight | back to summary |
|---|---|
| protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the maximum allowable height of the Skin, based on the provided width.
| |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable height of the Skin, based on the provided width.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| configureNotificationView | back to summary |
|---|---|
| private void configureNotificationView(NotificationView<T, S extends Notification<T>> notificationView) | |
| removePlaceholderIfNotNull | back to summary |
|---|---|
| private void removePlaceholderIfNotNull(Node placeholder) | |
| updateTimes | back to summary |
|---|---|
| private void updateTimes() | |
| updateView | back to summary |
|---|---|
| private void updateView() | |
| updateView | back to summary |
|---|---|
| private void updateView(List<NotificationGroup<?, ?>> groups, VBox container) | |
| updateVisibilities | back to summary |
|---|---|
| private void updateVisibilities() | |
| Modifier and Type | Field and Description |
|---|---|
| private final Timeline | |
| private final DoubleProperty | |
| private final NotificationGroup | |
| private final HBox | |
| private final ListChangeListener | |
| private final InvalidationListener | |
| private final InvalidationListener | |
| private final WeakListChangeListener | |
| private final WeakInvalidationListener | |
| private final WeakInvalidationListener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected double | computeMaxHeight(double width)
Overrides javafx. Computes the maximum height of this region. |
| protected double | computeMinHeight(double width)
Overrides javafx. Computes the minimum height of this region. |
| protected double | computePrefHeight(double width)
Overrides javafx. Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. |
| private void | |
| public DoubleProperty | |
| public double | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| public void | |
| private void | |
| private void |
| expandTimeline | back to summary |
|---|---|
| private final Timeline expandTimeline | |
| expansionProgress | back to summary |
|---|---|
| private final DoubleProperty expansionProgress | |
| group | back to summary |
|---|---|
| private final NotificationGroup<T, S> group | |
| headerBox | back to summary |
|---|---|
| private final HBox headerBox | |
| notificationsChangedListener | back to summary |
|---|---|
| private final ListChangeListener<Notification<T>> notificationsChangedListener | |
| requestedNotificationListener | back to summary |
|---|---|
| private final InvalidationListener requestedNotificationListener | |
| spacingListener | back to summary |
|---|---|
| private final InvalidationListener spacingListener | |
| weakNotificationsChangedListener | back to summary |
|---|---|
| private final WeakListChangeListener<Notification<T>> weakNotificationsChangedListener | |
| weakRequestedNotificationListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakRequestedNotificationListener | |
| weakSpacingListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakSpacingListener | |
| GroupView | back to summary |
|---|---|
| public GroupView(NotificationGroup<T, S> group) | |
| animate | back to summary |
|---|---|
| private void animate(boolean expand) | |
| computeMaxHeight | back to summary |
|---|---|
| protected double computeMaxHeight(double width) Overrides javafx. Doc from javafx. Computes the maximum height of this region. Returns Double.MAX_VALUE by default. Region subclasses may override this method to return a different value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width) Overrides javafx. Doc from javafx. Computes the minimum height of this region. Returns the sum of the top and bottom insets by default. Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width) Overrides javafx. Doc from javafx. Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| createNotificationViews | back to summary |
|---|---|
| private void createNotificationViews() | |
| expansionProgressProperty | back to summary |
|---|---|
| public DoubleProperty expansionProgressProperty() | |
| getExpansionProgress | back to summary |
|---|---|
| public double getExpansionProgress() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| setExpansionProgress | back to summary |
|---|---|
| public void setExpansionProgress(double expansionProgress) | |
| showNotificationView | back to summary |
|---|---|
| private void showNotificationView() | |
| updateStyleClass | back to summary |
|---|---|
| private void updateStyleClass() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | updateItem(Notification<?> notification, boolean empty)
Overrides javafx. The updateItem method should not be called by developers, but it is the best method for developers to override to allow for them to customise the visuals of the cell. |
| NotificationListCell | back to summary |
|---|---|
| public NotificationListCell() | |
| updateItem | back to summary |
|---|---|
| protected void updateItem(Notification<?> notification, boolean empty) Overrides javafx. Doc from javafx. The updateItem method should not be called by developers, but it is the
best method for developers to override to allow for them to customise the
visuals of the cell. To clarify, developers should never call this method
in their code (they should leave it up to the UI control, such as the
It is very important that subclasses of Cell override the updateItem method properly, as failure to do so will lead to issues such as blank cells or cells with unexpected content appearing within them. Here is an example of how to properly override the updateItem method:
protected void updateItem(T item, boolean empty) {
super.updateItem(item, empty);
if (empty || item == null) {
setText(null);
setGraphic(null);
} else {
setText(item.toString());
}
}
Note in this code sample two important points:
| |