| Modifier and Type | Class and Description |
|---|---|
| public class | |
| private class | |
| private class | |
| protected static class | SidePaneViewModel.
Helper class for sorting visible side panes based on their preferred position. |
| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private static final Logger | |
| private final PreferencesService | |
| private final Map | |
| private final SidePaneContentFactory | |
| private final StateManager |
| Access | Constructor and Description |
|---|---|
| public | SidePaneViewModel(LibraryTabContainer tabContainer, PreferencesService preferencesService, JournalAbbreviationRepository abbreviationRepository, StateManager stateManager, TaskExecutor taskExecutor, DialogService dialogService, FileUpdateMonitor fileUpdateMonitor, BibEntryTypesManager entryTypesManager, ClipBoardManager clipBoardManager, UndoManager undoManager)
|
| Modifier and Type | Method and Description |
|---|---|
| private ObservableList | |
| protected SidePaneComponent | |
| public void | |
| public void | |
| private void | |
| private <T> void | |
| private void | updatePreferredPositions()
Stores the current configuration of visible panes in the preferences, so that we show panes at the preferred position next time. |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferencesService | back to summary |
|---|---|
| private final PreferencesService preferencesService | |
| sidePaneComponentLookup | back to summary |
|---|---|
| private final Map<SidePaneType, SidePaneComponent> sidePaneComponentLookup | |
| sidePaneContentFactory | back to summary |
|---|---|
| private final SidePaneContentFactory sidePaneContentFactory | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| SidePaneViewModel | back to summary |
|---|---|
| public SidePaneViewModel(LibraryTabContainer tabContainer, PreferencesService preferencesService, JournalAbbreviationRepository abbreviationRepository, StateManager stateManager, TaskExecutor taskExecutor, DialogService dialogService, FileUpdateMonitor fileUpdateMonitor, BibEntryTypesManager entryTypesManager, ClipBoardManager clipBoardManager, UndoManager undoManager) | |
| getPanes | back to summary |
|---|---|
| private ObservableList | |
| getSidePaneComponent | back to summary |
|---|---|
| protected SidePaneComponent getSidePaneComponent(SidePaneType pane) | |
| moveDown | back to summary |
|---|---|
| public void moveDown(SidePaneType pane) | |
| moveUp | back to summary |
|---|---|
| public void moveUp(SidePaneType pane) | |
| show | back to summary |
|---|---|
| private void show(SidePaneType pane) | |
| swap | back to summary |
|---|---|
| private <T> void swap(ObservableList<T> observableList, int i, int j) | |
| updatePreferredPositions | back to summary |
|---|---|
| private void updatePreferredPositions() Stores the current configuration of visible panes in the preferences, so that we show panes at the preferred position next time. | |
| Modifier and Type | Field and Description |
|---|---|
| private final SidePaneType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| toClosePane | back to summary |
|---|---|
| private final SidePaneType toClosePane | |
| ClosePaneAction | back to summary |
|---|---|
| public ClosePaneAction(SidePaneType toClosePane) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SidePaneType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| toMoveDownPane | back to summary |
|---|---|
| private final SidePaneType toMoveDownPane | |
| MoveDownAction | back to summary |
|---|---|
| public MoveDownAction(SidePaneType toMoveDownPane) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SidePaneType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| toMoveUpPane | back to summary |
|---|---|
| private final SidePaneType toMoveUpPane | |
| MoveUpAction | back to summary |
|---|---|
| public MoveUpAction(SidePaneType toMoveUpPane) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(SidePaneType
the first object to be compared. type1, SidePaneType the second object to be compared. type2)Implements java. Compares its two arguments for order. |
| preferredPositions | back to summary |
|---|---|
| private final Map<SidePaneType, Integer> preferredPositions | |
| PreferredIndexSort | back to summary |
|---|---|
| public PreferredIndexSort(SidePanePreferences sidePanePreferences) | |
| compare | back to summary |
|---|---|
| public int compare(SidePaneType type1, SidePaneType type2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |