NavigationView.
| Modifier and Type | Field and Description |
|---|---|
| private HashMap | |
| private static final Logger | |
| private PreferencesFxModel | |
| private NavigationView | |
| private SearchHandler |
| Access | Constructor and Description |
|---|---|
| public | NavigationPresenter(PreferencesFxModel
the model of PreferencesFX model, NavigationView corresponding view to this presenter navigationView)Constructs a new presenter for the |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Category | Returns: the currently selected categoryRetrieves the currently selected category in the TreeSearchView. |
| private void | |
| public void | initializeViewParts()
Overrides default com. Initializes parts of the view which require more logic. |
| public void | setSelectedCategory(Category
to be selected category)Selects the given category in the NavigationView. |
| public void | setupBindings()
Overrides default com. Sets up bindings of the view. |
| public void | setupCellValueFactory()
Makes the TreeItems' text update when the description of a Category changes (due to i18n). |
| public void | setupEventHandlers()
Overrides default com. Sets up event handlers of the view. |
| public void | setupValueChangedListeners()
Overrides default com. Adds all listeners to view elements and model properties. |
| categoryTreeItemMap | back to summary |
|---|---|
| private HashMap<Category, FilterableTreeItem<Category>> categoryTreeItemMap | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| model | back to summary |
|---|---|
| private PreferencesFxModel model | |
| navigationView | back to summary |
|---|---|
| private NavigationView navigationView | |
| searchHandler | back to summary |
|---|---|
| private SearchHandler searchHandler | |
| NavigationPresenter | back to summary |
|---|---|
| public NavigationPresenter(PreferencesFxModel model, NavigationView navigationView) Constructs a new presenter for the
| |
| addRecursive | back to summary |
|---|---|
| private void addRecursive(FilterableTreeItem<Category> parentTreeItem, List<Category> categories) | |
| getSelectedCategory | back to summary |
|---|---|
| public Category getSelectedCategory() Retrieves the currently selected category in the TreeSearchView.
| |
| initializeTreeItems | back to summary |
|---|---|
| private void initializeTreeItems() | |
| initializeViewParts | back to summary |
|---|---|
| public void initializeViewParts() Overrides default com. Doc from com. Initializes parts of the view which require more logic.
| |
| setSelectedCategory | back to summary |
|---|---|
| public void setSelectedCategory(Category category) Selects the given category in the NavigationView.
| |
| setupBindings | back to summary |
|---|---|
| public void setupBindings() Overrides default com. Doc from com. Sets up bindings of the view.
| |
| setupCellValueFactory | back to summary |
|---|---|
| public void setupCellValueFactory() Makes the TreeItems' text update when the description of a Category changes (due to i18n). | |
| setupEventHandlers | back to summary |
|---|---|
| public void setupEventHandlers() Overrides default com. Doc from com. Sets up event handlers of the view.
| |
| setupValueChangedListeners | back to summary |
|---|---|
| public void setupValueChangedListeners() Overrides default com. Doc from com. Adds all listeners to view elements and model properties.
| |