Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.fieldeditors.optioneditors

public Class OptionEditor<T>

extends HBox
implements FieldEditorFX
Class Inheritance
All Implemented Interfaces
org.jabref.gui.fieldeditors.FieldEditorFX
Imports
javafx.fxml.FXML, javafx.scene.Parent, javafx.scene.control.ComboBox, .ContextMenu, javafx.scene.layout.HBox, org.jabref.gui.fieldeditors.FieldEditorFX, org.jabref.gui.fieldeditors.contextmenu.EditorContextAction, org.jabref.gui.util.ViewModelListCellFactory, org.jabref.model.entry.BibEntry, com.airhacks.afterburner.views.ViewLoader

Field editor that provides various pre-defined options as a drop-down combobox.

Field Summary

Modifier and TypeField and Description
private ComboBox<T>
private final OptionEditorViewModel<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Parent
public OptionEditorViewModel<T>
Inherited from javafx.scene.layout.HBox:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthfillHeightPropertygetAlignmentgetBaselineOffsetgetClassCssMetaDatagetContentBiasgetCssMetaDatagetHgrowgetMargingetSpacingisFillHeightlayoutChildrenrequestLayoutsetAlignmentsetFillHeightsetHgrowsetMarginsetSpacingspacingProperty

Field Detail

comboBoxback to summary
private ComboBox<T> comboBox
Annotations
@FXML
viewModelback to summary
private final OptionEditorViewModel<T> viewModel
Annotations
@FXML

Constructor Detail

OptionEditorback to summary
public OptionEditor(OptionEditorViewModel<T> viewModel)

Method Detail

bindToEntryback to summary
public void bindToEntry(BibEntry entry)

Implements org.jabref.gui.fieldeditors.FieldEditorFX.bindToEntry.

Annotations
@Override
getNodeback to summary
public Parent getNode()

Implements org.jabref.gui.fieldeditors.FieldEditorFX.getNode.

Annotations
@Override
getViewModelback to summary
public OptionEditorViewModel<T> getViewModel()