SpecialFields as the main table's
special field columns (org.jabref.gui.maintable.columns.SpecialFieldColumn ):
a star Rating for the ranking, a single toggle for the one-value fields
(printed, quality, relevance), and one toggle per value for priority and read status.
| Modifier and Type | Field and Description |
|---|---|
| private @Nullable BibEntry | entry
Null until |
| private @Nullable ObservableValue | fieldValue
Retained only to keep the field binding alive: |
| private final SpecialField | |
| private boolean | updatingControls
Distinguishes programmatic control updates (driven by the field binding) from user input. |
| private final Consumer | valueApplier
Pushes a stored field value into whichever control this editor built, so the varying control types don't have to be kept as separate (mostly-null) fields. |
| private final SpecialFieldViewModel |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| private SpecialFieldValue | |
| private Rating | |
| private ToggleButton | |
| private List | |
| public Parent |
| entry | back to summary |
|---|---|
| private @Nullable BibEntry entry Null until | |
| fieldValue | back to summary |
|---|---|
| private @Nullable ObservableValue<Optional<String>> fieldValue Retained only to keep the field binding alive: | |
| specialField | back to summary |
|---|---|
| private final SpecialField specialField | |
| updatingControls | back to summary |
|---|---|
| private boolean updatingControls Distinguishes programmatic control updates (driven by the field binding) from user input. | |
| valueApplier | back to summary |
|---|---|
| private final Consumer<Optional<SpecialFieldValue>> valueApplier Pushes a stored field value into whichever control this editor built, so the varying control types don't have to be kept as separate (mostly-null) fields. | |
| viewModel | back to summary |
|---|---|
| private final SpecialFieldViewModel viewModel | |
| SpecialFieldEditor | back to summary |
|---|---|
| public SpecialFieldEditor(SpecialField specialField, CliPreferences preferences, UndoManager undoManager) | |
| applyValue | back to summary |
|---|---|
| private void applyValue(Optional<SpecialFieldValue> value) | |
| bindToEntry | back to summary |
|---|---|
| public void bindToEntry(BibEntry entry) Implements org.
| |
| clearValue | back to summary |
|---|---|
| private SpecialFieldValue clearValue() | |
| createRatingControl | back to summary |
|---|---|
| private Rating createRatingControl() | |
| createToggleControl | back to summary |
|---|---|
| private ToggleButton createToggleControl() | |
| createToggleGroupControls | back to summary |
|---|---|
| private List | |
| getNode | back to summary |
|---|---|
| public Parent getNode() Implements org.
| |