Search in sources :

Example 1 with ListWidgetType

use of org.phoenicis.javafx.components.common.widgets.utils.ListWidgetType in project POL-POM-5 by PlayOnLinux.

the class CombinedListWidgetSkin method selectListWidget.

/**
 * Updates the shown list widget based on the current selection status
 */
private void selectListWidget() {
    final ListWidgetType listWidgetType = getControl().getSelectedListWidget();
    final ListWidgetBase<E, ?, ?> currentListWidget = listWidgets.get(listWidgetType);
    getChildren().setAll(currentListWidget);
}
Also used : ListWidgetType(org.phoenicis.javafx.components.common.widgets.utils.ListWidgetType)

Aggregations

ListWidgetType (org.phoenicis.javafx.components.common.widgets.utils.ListWidgetType)1